You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2009/09/08 17:27:33 UTC

svn commit: r812553 - /incubator/uima/uimaj/trunk/uimaj-cpe/src/main/java/org/apache/uima/collection/impl/cpm/engine/ArtifactProducer.java

Author: cwiklik
Date: Tue Sep  8 15:27:32 2009
New Revision: 812553

URL: http://svn.apache.org/viewvc?rev=812553&view=rev
Log:
UIMA-1560 Replaced new Long(value) with Long.valueOf(value)

Modified:
    incubator/uima/uimaj/trunk/uimaj-cpe/src/main/java/org/apache/uima/collection/impl/cpm/engine/ArtifactProducer.java

Modified: incubator/uima/uimaj/trunk/uimaj-cpe/src/main/java/org/apache/uima/collection/impl/cpm/engine/ArtifactProducer.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-cpe/src/main/java/org/apache/uima/collection/impl/cpm/engine/ArtifactProducer.java?rev=812553&r1=812552&r2=812553&view=diff
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-cpe/src/main/java/org/apache/uima/collection/impl/cpm/engine/ArtifactProducer.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-cpe/src/main/java/org/apache/uima/collection/impl/cpm/engine/ArtifactProducer.java Tue Sep  8 15:27:32 2009
@@ -421,7 +421,7 @@
           if (cpmStatTable != null) {
             Progress[] progress = collectionReader.getProgress();
             cpmStatTable.put("COLLECTION_READER_PROGRESS", progress);
-            cpmStatTable.put("COLLECTION_READER_TIME", new Long(totalFetchTime));
+            cpmStatTable.put("COLLECTION_READER_TIME", Long.valueOf(totalFetchTime));
           }
           if (UIMAFramework.getLogger().isLoggable(Level.FINEST)) {
             UIMAFramework.getLogger(this.getClass()).logrb(Level.FINEST, this.getClass().getName(),
@@ -614,7 +614,7 @@
     if (cpmStatTable != null) {
       Progress[] progress = collectionReader.getProgress();
       cpmStatTable.put("COLLECTION_READER_PROGRESS", progress);
-      cpmStatTable.put("COLLECTION_READER_TIME", new Long(totalFetchTime));
+      cpmStatTable.put("COLLECTION_READER_TIME", Long.valueOf(totalFetchTime));
     }
     if (UIMAFramework.getLogger().isLoggable(Level.FINEST)) {
       UIMAFramework.getLogger(this.getClass()).logrb(Level.FINEST, this.getClass().getName(),