File tree 1 file changed +0
-8
lines changed
core/src/main/java/com/graphhopper/routing/weighting/custom
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -343,14 +343,6 @@ private static Java.CompilationUnit injectStatements(List<Java.BlockStatement> p
343
343
boolean speedInjected = false ;
344
344
boolean priorityInjected = false ;
345
345
346
- @ Override
347
- public Java .FieldDeclaration copyFieldDeclaration (Java .FieldDeclaration subject ) throws CompileException {
348
- // for https://github.com/janino-compiler/janino/issues/135
349
- Java .FieldDeclaration fd = super .copyFieldDeclaration (subject );
350
- fd .setEnclosingScope (subject .getEnclosingScope ());
351
- return fd ;
352
- }
353
-
354
346
@ Override
355
347
public Java .MethodDeclarator copyMethodDeclarator (Java .MethodDeclarator subject ) throws CompileException {
356
348
if (subject .name .equals ("getSpeed" ) && !speedStatements .isEmpty () && !speedInjected ) {
You can’t perform that action at this time.
0 commit comments