Revision: 14551
          http://gate.svn.sourceforge.net/gate/?rev=14551&view=rev
Author:   valyt
Date:     2011-11-15 12:03:53 +0000 (Tue, 15 Nov 2011)
Log Message:
-----------
Make sure the mode property is set by default to ANNOTATION (this used to be a 
side-effect of the way the tests were applied).

Modified Paths:
--------------
    mimir/trunk/mimir-core/src/gate/mimir/AbstractSemanticAnnotationHelper.java

Modified: 
mimir/trunk/mimir-core/src/gate/mimir/AbstractSemanticAnnotationHelper.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/AbstractSemanticAnnotationHelper.java 
2011-11-15 11:42:44 UTC (rev 14550)
+++ mimir/trunk/mimir-core/src/gate/mimir/AbstractSemanticAnnotationHelper.java 
2011-11-15 12:03:53 UTC (rev 14551)
@@ -88,9 +88,9 @@
   protected String annotationType;
        
   /**
-   * The working mode for this helper.
+   * The working mode for this helper (defaults to {@link Mode#ANNOTATION}).
    */
-  protected Mode mode;
+  protected Mode mode = Mode.ANNOTATION;
   
   public Mode getMode() {
     return mode;

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


------------------------------------------------------------------------------
RSA(R) 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