Author: aching
Date: Mon Sep 12 18:42:17 2011
New Revision: 1169863

URL: http://svn.apache.org/viewvc?rev=1169863&view=rev
Log:
GIRAPH-27: Fixed type parameter errors in Hudson (aching). 


Modified:
    incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/Vertex.java

Modified: 
incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/Vertex.java
URL: 
http://svn.apache.org/viewvc/incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/Vertex.java?rev=1169863&r1=1169862&r2=1169863&view=diff
==============================================================================
--- incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/Vertex.java 
(original)
+++ incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/Vertex.java 
Mon Sep 12 18:42:17 2011
@@ -142,12 +142,12 @@ public abstract class Vertex<I extends W
     @Override
     final public void readFields(DataInput in) throws IOException {
         vertexId =
-            BspUtils.createVertexIndex(getContext().getConfiguration());
+            BspUtils.<I>createVertexIndex(getContext().getConfiguration());
         vertexId.readFields(in);
         boolean hasVertexValue = in.readBoolean();
         if (hasVertexValue) {
             vertexValue =
-                BspUtils.createVertexValue(getContext().getConfiguration());
+                BspUtils.<V>createVertexValue(getContext().getConfiguration());
             vertexValue.readFields(in);
         }
         long edgeMapSize = in.readLong();
@@ -160,7 +160,7 @@ public abstract class Vertex<I extends W
         long msgListSize = in.readLong();
         for (long i = 0; i < msgListSize; ++i) {
             M msg =
-                BspUtils.createMessageValue(getContext().getConfiguration());
+                
BspUtils.<M>createMessageValue(getContext().getConfiguration());
             msg.readFields(in);
             msgList.add(msg);
         }


Reply via email to