Skip to content

Commit

Permalink
remove 'shouldfilter' remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 4, 2020
1 parent 7c9c35d commit f5ec90d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,6 @@ public boolean shouldDebug() {
return shouldDebugBool;
}

@Override
public boolean shouldFilter(String criteria) throws Exception {
return internal.script.getName().equalsIgnoreCase(criteria.replace("s@", ""));
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,6 @@ public boolean shouldDebug() {
return shouldDebug;
}

@Override
public boolean shouldFilter(String criteria) throws Exception {
return name.equalsIgnoreCase(criteria.replace("s@", ""));
}

@Override
public String toString() {
return "s@" + CoreUtilities.toLowerCase(getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,12 +529,6 @@ public boolean shouldDebug() {
return (lastEntryExecuted != null ? lastEntryExecuted.shouldDebug() : script_entries.get(0).shouldDebug());
}

@Override
public boolean shouldFilter(String criteria) throws Exception {
return (lastEntryExecuted != null ? lastEntryExecuted.getScript().getName().equalsIgnoreCase(criteria.replace("s@", ""))
: script_entries.get(0).getScript().getName().equalsIgnoreCase(criteria.replace("s@", "")));
}

@Override
public String toString() {
return id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ public boolean shouldDebug() {
return debug;
}

@Override
public boolean shouldFilter(String criteria) {
return false;
}

public TagContext(boolean debug, ScriptEntry entry, ScriptTag script) {
this(debug, entry, script, null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
public interface Debuggable {

boolean shouldDebug();

boolean shouldFilter(String criteria) throws Exception;
}

0 comments on commit f5ec90d

Please sign in to comment.