Author: burn
Date: Tue Mar 13 14:58:09 2018
New Revision: 1826649

URL: http://svn.apache.org/viewvc?rev=1826649&view=rev
Log:
UIMA-5747 Remove unwanted debugging code

Modified:
    
uima/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/test/randomsleep/FixedSleepAE.java

Modified: 
uima/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/test/randomsleep/FixedSleepAE.java
URL: 
http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/test/randomsleep/FixedSleepAE.java?rev=1826649&r1=1826648&r2=1826649&view=diff
==============================================================================
--- 
uima/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/test/randomsleep/FixedSleepAE.java
 (original)
+++ 
uima/uima-ducc/trunk/uima-ducc-examples/src/main/java/org/apache/uima/ducc/test/randomsleep/FixedSleepAE.java
 Tue Mar 13 14:58:09 2018
@@ -37,11 +37,9 @@ import org.apache.uima.analysis_engine.A
 import org.apache.uima.cas.CAS;
 import org.apache.uima.cas.CASException;
 import org.apache.uima.examples.SourceDocumentInformation;
-import org.apache.uima.resource.ResourceConfigurationException;
 import org.apache.uima.resource.ResourceInitializationException;
 import org.apache.uima.util.Level;
 import org.apache.uima.util.Logger;
-import org.apache.uima.util.Settings;
 
 /**
  * Simple AE for the system test.  It does no computation, instead sleeping to 
simulate computation.  It
@@ -76,18 +74,6 @@ public class FixedSleepAE extends CasAnn
             System.out.println("Is this nuts or what, no logger!");
         }
 
-        logger.log(Level.INFO, "UIMA version: 
"+UIMAFramework.getVersionString());
-        String[] keys = {"filesystem", "classpath", "datapath"};
-        Settings settings = uimaContext.getExternalOverrides();
-        for (String key : keys) {
-          try {
-            logger.log(Level.INFO, "External override setting '"+key+"' = 
'"+settings.getSetting(key)+"'");
-          } catch (ResourceConfigurationException e) {
-            // TODO Auto-generated catch block
-            e.printStackTrace();
-          }
-        }
-        
         if ( initComplete ) {
             logger.log(Level.INFO, "Init bypassed in PID:TID " + pid + ":" + 
tid + ", already completed. ");
             return;
@@ -383,7 +369,7 @@ public class FixedSleepAE extends CasAnn
     @Override
     public void process(CAS cas) throws AnalysisEngineProcessException 
     {
-       System.out.println("!! FixedSleepAE:process");new 
Throwable().printStackTrace();
+
         forceCpuUsage();
 
        String data = cas.getSofaDataString();


Reply via email to