incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1033805 - in /incubator/hama/trunk/src/java/org/apache/hama/bsp: GroomServerAction.java HeartbeatResponse.java
Date Thu, 11 Nov 2010 02:50:38 GMT
Author: edwardyoon
Date: Thu Nov 11 02:50:38 2010
New Revision: 1033805

URL: http://svn.apache.org/viewvc?rev=1033805&view=rev
Log:
Rename method from getActionId() to getActionType() on GroomServerAction

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java
    incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java?rev=1033805&r1=1033804&r2=1033805&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/GroomServerAction.java Thu Nov 11 02:50:38
2010
@@ -102,7 +102,7 @@ abstract class GroomServerAction impleme
    * Return the {@link ActionType}.
    * @return the {@link ActionType}.
    */
-  ActionType getActionId() {
+  ActionType getActionType() {
     return actionType;
   }
 

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java?rev=1033805&r1=1033804&r2=1033805&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/HeartbeatResponse.java Thu Nov 11 02:50:38
2010
@@ -102,7 +102,7 @@ public class HeartbeatResponse implement
     } else {
       WritableUtils.writeVInt(out, actions.length);
       for(GroomServerAction action: actions) {
-        WritableUtils.writeEnum(out, action.getActionId());
+        WritableUtils.writeEnum(out, action.getActionType());
         action.write(out);
       }
     }



Mime
View raw message