Skip to content

Commit 465de40

Browse files
parloughCommit Queue
authored andcommitted
[analysis_server] Fix syntax mistake in generated Java code
Change-Id: Ia0a9ce852de9d986fbcf36f543c70db040059e24 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390669 Commit-Queue: Samuel Rawlins <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]> Auto-Submit: Parker Lougheed <[email protected]> Reviewed-by: Jaime Wren <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Jaime Wren <[email protected]>
1 parent 6adcc1c commit 465de40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/analysis_server/tool/spec/codegen_java_types.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ class CodegenJavaType extends CodegenJavaVisitor {
525525
Outline outline = new Outline(parent, element, offset, length, codeOffset, codeLength);
526526
527527
// compute children recursively
528-
List<Outline> childrenList = = new ArrayList<>();
528+
List<Outline> childrenList = new ArrayList<>();
529529
JsonElement childrenJsonArray = outlineObject.get("children");
530530
if (childrenJsonArray instanceof JsonArray) {
531531
for (JsonElement jsonElement : (JsonArray) childrenJsonArray) {

pkg/analysis_server/tool/spec/generated/java/types/Outline.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public static Outline fromJson(Outline parent, JsonObject outlineObject) {
108108
Outline outline = new Outline(parent, element, offset, length, codeOffset, codeLength);
109109

110110
// compute children recursively
111-
List<Outline> childrenList = = new ArrayList<>();
111+
List<Outline> childrenList = new ArrayList<>();
112112
JsonElement childrenJsonArray = outlineObject.get("children");
113113
if (childrenJsonArray instanceof JsonArray) {
114114
for (JsonElement jsonElement : (JsonArray) childrenJsonArray) {

0 commit comments

Comments
 (0)