Skip to content

Commit 5bc4dde

Browse files
committed
updated tests
1 parent 3714aec commit 5bc4dde

File tree

8 files changed

+148
-286
lines changed

8 files changed

+148
-286
lines changed

sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/ASTTypeVisitor.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ public String getFullClassName() {
6767
* @return
6868
*/
6969
public String discardGenericType(String name) {
70-
if (name == null) {
71-
return null;
72-
}
73-
return Bindings.removeBrackets(name);
70+
return (name == null ? null : Bindings.removeBrackets(name));
7471
}
7572

7673
/**

0 commit comments

Comments
 (0)