Skip to content

Commit 460b46d

Browse files
author
zhourenjian
committed
Fixed bug#2279446: Missing private method of #newElementArray in java.util.Hashtable
1 parent fc6543e commit 460b46d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/sf/j2s/core/astvisitors/MethodReferenceASTVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class MethodReferenceASTVisitor extends ASTVisitor {
3333

3434
private MethodReferenceASTVisitor(String methodSignature) {
3535
super();
36-
this.methodSignature = methodSignature;
36+
this.methodSignature = methodSignature.replaceAll("<[^>]+>", "");
3737
}
3838

3939
public static boolean checkReference(ASTNode node, String methodSignature) {

0 commit comments

Comments
 (0)