commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1302875 - /commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DotExporter.java
Date Tue, 20 Mar 2012 13:18:27 GMT
Author: simonetripodi
Date: Tue Mar 20 13:18:27 2012
New Revision: 1302875

URL: http://svn.apache.org/viewvc?rev=1302875&view=rev
Log:
properties setters always return the current exporter instance
code format

Modified:
    commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DotExporter.java

Modified: commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DotExporter.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DotExporter.java?rev=1302875&r1=1302874&r2=1302875&view=diff
==============================================================================
--- commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DotExporter.java
(original)
+++ commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DotExporter.java
Tue Mar 20 13:18:27 2012
@@ -158,31 +158,32 @@ final class DotExporter<V, E>
         }
     }
 
-	@Override
-	public <N extends Number> DotExporter<V, E>
-	    withEdgeWeights(Mapper<E, N> edgeWeights) {
-		// TODO Auto-generated method stub
-		return null;
-	}
+    @Override
+    public <N extends Number> DotExporter<V, E> withEdgeWeights( Mapper<E,
N> edgeWeights )
+    {
+        // TODO Auto-generated method stub
+        return this;
+    }
 
-	@Override
-	public <N extends Number> DotExporter<V, E> withVertexWeights(
-			Mapper<V, N> vertexWeights) {
-		// TODO Auto-generated method stub
-		return null;
-	}
+    @Override
+    public <N extends Number> DotExporter<V, E> withVertexWeights( Mapper<V,
N> vertexWeights )
+    {
+        // TODO Auto-generated method stub
+        return this;
+    }
 
-	@Override
-	public DotExporter<V, E> withEdgeLabels(Mapper<E, String> edgeLabels) {
-		// TODO Auto-generated method stub
-		return null;
-	}
+    @Override
+    public DotExporter<V, E> withEdgeLabels( Mapper<E, String> edgeLabels )
+    {
+        // TODO Auto-generated method stub
+        return this;
+    }
 
-	@Override
-	public DotExporter<V, E> withVertexLabels(
-			Mapper<V, String> vertexLabels) {
-		// TODO Auto-generated method stub
-		return null;
-	}
+    @Override
+    public DotExporter<V, E> withVertexLabels( Mapper<V, String> vertexLabels
)
+    {
+        // TODO Auto-generated method stub
+        return this;
+    }
 
 }



Mime
View raw message