Skip to content

Commit

Permalink
Internal clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 3, 2023
1 parent 7cc0763 commit 86de369
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/generic/ArrayType.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public ArrayType(final Type type, final int dimensions) {
buf.append('[');
}
buf.append(basicType.getSignature());
super.setSignature(buf.toString());
this.signature = buf.toString();
}

/**
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/org/apache/bcel/generic/Type.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,6 @@ public Type normalizeForStackOrLocal() {
return this;
}

/*
* Currently only used by the ArrayType constructor. The signature has a complicated dependency on other parameter so
* it's tricky to do it in a call to the super ctor.
*/
void setSignature(final String signature) {
this.signature = signature;
}

/**
* @return Type string, e.g. 'int[]'
*/
Expand Down

0 comments on commit 86de369

Please sign in to comment.