Skip to content

Commit

Permalink
minor fix-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Nov 22, 2019
1 parent b25e79d commit d322169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,9 @@ private static String computeArrayName(ClassNode componentType) {
}
} else if (!componentType.isArray()) {
return "[L" + componentName + ";";
} else if (componentName.startsWith("[")) {
return "[" + componentName;
}
return componentName + "[]"; // TODO: What code still creates array types like this?
assert componentName.startsWith("[");
return "[" + componentName;
}
// GRECLIPSE end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -667,12 +667,12 @@ public boolean isDeprecated() {

@Override
public boolean isPrimitive() {
return false; // FIXASC (M3) verify always true. Think it is a jdtReferenceBinding is a reference binding and not a typebinding
return false;
}

@Override
public boolean isResolved() {
return true; // JDTClassNodes are created because of a JDT Reference Binding file so are always 'resolved' (although not initialized upon creation)
return true; // JDTClassNode created because of a JDT ReferenceBinding, so it is always "resolved" (although not initialized upon creation)
}

@Override
Expand Down

0 comments on commit d322169

Please sign in to comment.