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