Skip to content

Commit 98faff9

Browse files
author
Andrei Nadyktov
committed
IGNITE-22530 Remove usage of CdcRegexMatcher interface
1 parent abc2c87 commit 98faff9

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

modules/cdc-ext/src/main/java/org/apache/ignite/cdc/CdcRegexManager.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/**
3838
* Contains logic to process user's regexp patterns for CDC.
3939
*/
40-
public class CdcRegexManager implements CdcRegexMatcher {
40+
public class CdcRegexManager {
4141

4242
/** File with saved names of caches added by cache masks. */
4343
private static final String SAVED_CACHES_FILE = "caches";
@@ -67,8 +67,13 @@ public CdcRegexManager(Path cdcDir, IgniteLogger log) {
6767
this.log = log;
6868
}
6969

70-
/** {@inheritDoc} */
71-
@Override public boolean match(String cacheName) {
70+
/**
71+
* Finds and processes match between cache name and user's regexp patterns.
72+
*
73+
* @param cacheName Cache name.
74+
* @return True if cache name matches user's regexp patterns.
75+
*/
76+
public boolean match(String cacheName) {
7277
return matchAndSave(cacheName);
7378
}
7479

0 commit comments

Comments
 (0)