Skip to content

Commit d3cd5f6

Browse files
committed
FUCK YOU SPOTLESS FUCK YOU SPOTLESS FUCK YOU SPOTLESS FUCK YOU SPOTLESS
1 parent d37388d commit d3cd5f6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/main/java/com/cleanroommc/groovyscript/sandbox/GroovyScriptSandbox.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,13 @@ protected void postInitBindings(Binding binding) {
303303

304304
@ApiStatus.OverrideOnly
305305
protected void initEngine(CompilerConfiguration config) {
306-
config.setDisabledGlobalASTTransformations(new ObjectOpenHashSet<>() {{
307-
// this is some dependency management thing for grape, we don't want this
308-
add("groovy.grape.GrabAnnotationTransformation");
309-
}});
306+
config.setDisabledGlobalASTTransformations(new ObjectOpenHashSet<>() {
307+
308+
{
309+
// this is some dependency management thing for grape, we don't want this
310+
add("groovy.grape.GrabAnnotationTransformation");
311+
}
312+
});
310313
config.addCompilationCustomizers(this.importCustomizer);
311314
config.addCompilationCustomizers(new GroovyScriptCompiler());
312315
config.addCompilationCustomizers(new GroovyScriptEarlyCompiler());

0 commit comments

Comments
 (0)