incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tjungb...@apache.org
Subject svn commit: r1210024 - /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java
Date Sat, 03 Dec 2011 22:22:42 GMT
Author: tjungblut
Date: Sat Dec  3 22:22:42 2011
New Revision: 1210024

URL: http://svn.apache.org/viewvc?rev=1210024&view=rev
Log:
Make counter static available


Modified:
    incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java

Modified: incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java?rev=1210024&r1=1210023&r2=1210024&view=diff
==============================================================================
--- incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java (original)
+++ incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java Sat Dec
 3 22:22:42 2011
@@ -205,14 +205,14 @@ public class LocalBSPRunner implements J
 
   // this class will spawn a new thread and executes the BSP
   @SuppressWarnings( { "deprecation", "rawtypes" })
-  class BSPRunner implements Callable<BSP> {
+  static class BSPRunner implements Callable<BSP> {
 
     private Configuration conf;
     private BSPJob job;
     private int id;
     private BSP bsp;
     private RawSplit[] splits;
-    private Counters counters = new Counters();
+    private static final Counters counters = new Counters();
 
     public BSPRunner(Configuration conf, BSPJob job, int id, RawSplit[] splits) {
       super();



Mime
View raw message