File tree Expand file tree Collapse file tree
core/src/main/java/com/graphhopper/routing/weighting/custom
web-api/src/main/java/com/graphhopper/jackson Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff line change 1212
1313import static com .graphhopper .json .Statement .Keyword .*;
1414
15- class StatementDeserializer extends JsonDeserializer <Statement > {
15+ public class StatementDeserializer extends JsonDeserializer <Statement > {
1616 @ Override
1717 public Statement deserialize (JsonParser p , DeserializationContext ctxt ) throws IOException {
1818 JsonNode treeNode = p .readValueAsTree ();
You can’t perform that action at this time.
0 commit comments