Remove unused methods in Scopes

This commit is contained in:
aNNiMON 2023-10-04 19:47:54 +03:00 committed by Victor Melnik
parent 8474f87358
commit 5dcf31c106
2 changed files with 0 additions and 10 deletions

View File

@ -44,10 +44,6 @@ sealed class Scope permits RootScope {
variables.put(name, value); variables.put(name, value);
} }
public final void removeVariable(String name) {
variables.remove(name);
}
public Map<String, Value> getVariables() { public Map<String, Value> getVariables() {
return variables; return variables;
} }

View File

@ -129,12 +129,6 @@ public final class ScopeHandler {
} }
} }
public static void removeVariable(String name) {
synchronized (lock) {
findScope(name).scope.removeVariable(name);
}
}
private static ScopeFindData findScope(String name) { private static ScopeFindData findScope(String name) {
Scope current = scope; Scope current = scope;
do { do {