summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/com/sun/gluegen/JavaEmitter.java2
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