Skip to content

Commit c813a9c

Browse files
committed
[jsscripting] Re-arrange methods accordingly
Signed-off-by: Florian Hotze <[email protected]>
1 parent e85efa7 commit c813a9c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bundles/org.openhab.automation.jsscripting/src/main/java/org/openhab/automation/jsscripting/internal/scriptengine/DelegatingScriptEngineWithInvocableAndCompilableAndAutocloseable.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ public <T> T getInterface(Object o, Class<T> aClass) {
130130
return delegate.getInterface(o, aClass);
131131
}
132132

133-
@Override
134-
public void close() throws Exception {
135-
delegate.close();
136-
}
137-
138133
@Override
139134
public CompiledScript compile(String s) throws ScriptException {
140135
return delegate.compile(s);
@@ -144,4 +139,9 @@ public CompiledScript compile(String s) throws ScriptException {
144139
public CompiledScript compile(Reader reader) throws ScriptException {
145140
return delegate.compile(reader);
146141
}
142+
143+
@Override
144+
public void close() throws Exception {
145+
delegate.close();
146+
}
147147
}

0 commit comments

Comments
 (0)