Revision: 14478
          http://gate.svn.sourceforge.net/gate/?rev=14478&view=rev
Author:   valyt
Date:     2011-11-02 10:25:16 +0000 (Wed, 02 Nov 2011)
Log Message:
-----------
Fixed a test that would never work.

Modified Paths:
--------------
    gate/trunk/src/gate/creole/APFormatExporter.java

Modified: gate/trunk/src/gate/creole/APFormatExporter.java
===================================================================
--- gate/trunk/src/gate/creole/APFormatExporter.java    2011-11-02 10:22:36 UTC 
(rev 14477)
+++ gate/trunk/src/gate/creole/APFormatExporter.java    2011-11-02 10:25:16 UTC 
(rev 14478)
@@ -171,7 +171,7 @@
         tmpDocId.append(token + ".");
     }// End while
     // if tokenization had place
-    if (!"".equals(tmpDocId)){
+    if (tmpDocId.length() > 0){
       // Remove the last dot
       tmpDocId.replace(tmpDocId.length()-1,tmpDocId.length(),"");
       docId = tmpDocId.toString();

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to