diff options
author | Sven Gothel <sgothel@jausoft.com> | 2009-10-13 04:30:21 -0700 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2009-10-13 04:30:21 -0700 |
commit | 130c08cce05f41bce323839077de01eac6da5ccd (patch) | |
tree | cdb2671837c379d779235556a91c29249165da7e /src/java/com/sun/gluegen/JavaEmitter.java | |
parent | 3c5fe7f58a2e7816c86ab0b85fb3a4e7cd2113ce (diff) |
String isEmpty() is Java 1.6 - replaced
Diffstat (limited to 'src/java/com/sun/gluegen/JavaEmitter.java')
-rw-r--r-- | src/java/com/sun/gluegen/JavaEmitter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/JavaEmitter.java b/src/java/com/sun/gluegen/JavaEmitter.java index c9a54e3..599503c 100644 --- a/src/java/com/sun/gluegen/JavaEmitter.java +++ b/src/java/com/sun/gluegen/JavaEmitter.java @@ -226,7 +226,7 @@ public class JavaEmitter implements GlueEmitter { String t = scanner.next().trim(); - if(!t.isEmpty()) { + if(0<t.length()) { Object type = getJavaValue2(name, t); //fast path |