Revision: 17116
          http://sourceforge.net/p/gate/code/17116
Author:   valyt
Date:     2013-11-20 13:39:10 +0000 (Wed, 20 Nov 2013)
Log Message:
-----------
Stop the query parser from printing out debug messages.

Made the debug flag static final so that the compiler can remove it completely.

Modified Paths:
--------------
    mimir/trunk/mimir-core/src/gate/mimir/search/query/parser/QueryParser.java

Modified: 
mimir/trunk/mimir-core/src/gate/mimir/search/query/parser/QueryParser.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/search/query/parser/QueryParser.java  
2013-11-20 13:37:40 UTC (rev 17115)
+++ mimir/trunk/mimir-core/src/gate/mimir/search/query/parser/QueryParser.java  
2013-11-20 13:39:10 UTC (rev 17116)
@@ -32,7 +32,7 @@
   // please note that this variable is updated only on certain occassions
   int column;
   int row;
-  boolean debug = true;
+  private static final boolean debug = false;
 
   private static final OffsetComparator OFFSET_COMPARATOR = new 
OffsetComparator();
 

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


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to