commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1302679 - in /commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export: DefaultNamedExportSelector.java EdgeMapperSelector.java VertexMapperSelector.java
Date Mon, 19 Mar 2012 21:59:50 GMT
Author: simonetripodi
Date: Mon Mar 19 21:59:50 2012
New Revision: 1302679

URL: http://svn.apache.org/viewvc?rev=1302679&view=rev
Log:
Edge/Vertex property selector no longer needed in the new architecture

Removed:
    commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/EdgeMapperSelector.java
    commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/VertexMapperSelector.java
Modified:
    commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java

Modified: commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java?rev=1302679&r1=1302678&r2=1302679&view=diff
==============================================================================
--- commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
(original)
+++ commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
Mon Mar 19 21:59:50 2012
@@ -52,38 +52,4 @@ public final class DefaultNamedExportSel
         return new GraphMLExporter<V, E>( graph, name );
     }
 
-    /*
-    public EdgeMapperSelector<V, E> withEdgeProperty( String name )
-    {
-        final String checkedName = checkNotNull( name, "Null Edge property not admitted"
);
-        return new EdgeMapperSelector<V, E>()
-        {
-
-            public ExportSelctor<V, E> expandedBy( Mapper<E, ?> mapper )
-            {
-                mapper = checkNotNull( mapper, "Null Edge mapper for property %s not admitted",
checkedName );
-                edgeProperties.put( checkedName, mapper );
-                return DefaultNamedExportSelector.this;
-            }
-
-        };
-    }
-
-    public VertexMapperSelector<V, E> withVertexProperty( String name )
-    {
-        final String checkedName = checkNotNull( name, "Null Vertex property not admitted"
);
-        return new VertexMapperSelector<V, E>()
-        {
-
-            public ExportSelctor<V, E> expandedBy( Mapper<V, ?> mapper )
-            {
-                mapper = checkNotNull( mapper, "Null Vertex mapper for property %s not admitted",
checkedName );
-                vertexProperties.put( checkedName, mapper );
-                return DefaultNamedExportSelector.this;
-            }
-
-        };
-    }//*/
-
-
 }



Mime
View raw message