Skip to content

Commit 46c8af5

Browse files
authored
Merge pull request #208 from ebean-orm/feature/class-signature
#206 Class signature only when required
2 parents 827b2c7 + 10328d0 commit 46c8af5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ebean-agent/src/main/java/io/ebean/enhance/common/VisitUtil.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ public final class VisitUtil implements Opcodes {
99
* Append the interfaceType to the existing class signature.
1010
*/
1111
public static String signatureAppend(String signature, String interfaceType) {
12-
if (signature == null) {
13-
return 'L' + interfaceType + ';';
14-
} else {
15-
return signature + 'L' + interfaceType + ';';
16-
}
12+
return signature == null ? null : signature + 'L' + interfaceType + ';';
1713
}
1814

1915
/**

0 commit comments

Comments
 (0)