Skip to content

Commit 19385e1

Browse files
committed
fix: CustomModelParser
1 parent 2a2d503 commit 19385e1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

core/src/main/java/com/graphhopper/routing/weighting/custom/CustomModelParser.java

-8
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,6 @@ private static Java.CompilationUnit injectStatements(List<Java.BlockStatement> p
343343
boolean speedInjected = false;
344344
boolean priorityInjected = false;
345345

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-
354346
@Override
355347
public Java.MethodDeclarator copyMethodDeclarator(Java.MethodDeclarator subject) throws CompileException {
356348
if (subject.name.equals("getSpeed") && !speedStatements.isEmpty() && !speedInjected) {

0 commit comments

Comments
 (0)