Author: cs
Date: Tue Mar 20 14:53:34 2012
New Revision: 1302923
URL: http://svn.apache.org/viewvc?rev=1302923&view=rev
Log:
correct interface names for ExportSelector (was ExportSelctor) and
DefaultExportSelector (was DefaultNamedExportSelector). remove unused interface
NamedExportSelctor.
Added:
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultExportSelector.java
- copied, changed from r1302922,
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelector.java
- copied, changed from r1302922,
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelctor.java
Removed:
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelctor.java
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/NamedExportSelctor.java
Modified:
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/CommonsGraph.java
Modified:
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/CommonsGraph.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/CommonsGraph.java?rev=1302923&r1=1302922&r2=1302923&view=diff
==============================================================================
---
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/CommonsGraph.java
(original)
+++
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/CommonsGraph.java
Tue Mar 20 14:53:34 2012
@@ -35,8 +35,8 @@ import org.apache.commons.graph.coloring
import org.apache.commons.graph.coloring.DefaultColorsBuilder;
import org.apache.commons.graph.connectivity.ConnectivityBuilder;
import org.apache.commons.graph.connectivity.DefaultConnectivityBuilder;
-import org.apache.commons.graph.export.DefaultNamedExportSelector;
-import org.apache.commons.graph.export.ExportSelctor;
+import org.apache.commons.graph.export.DefaultExportSelector;
+import org.apache.commons.graph.export.ExportSelector;
import org.apache.commons.graph.flow.DefaultFlowWeightedEdgesBuilder;
import org.apache.commons.graph.flow.FlowWeightedEdgesBuilder;
import org.apache.commons.graph.model.DirectedMutableGraph;
@@ -56,10 +56,10 @@ import org.apache.commons.graph.visit.Vi
public final class CommonsGraph<V, E, G extends Graph<V, E>>
{
- public static <V, E, G extends Graph<V, E>> ExportSelctor<V, E> export( G
graph )
+ public static <V, E, G extends Graph<V, E>> ExportSelector<V, E> export( G
graph )
{
graph = checkNotNull( graph, "Null graph can not be exported" );
- return new DefaultNamedExportSelector<V, E>( graph );
+ return new DefaultExportSelector<V, E>( graph );
}
public static <V, E, G extends UndirectedGraph<V, E>> ColorsBuilder<V, E>
coloring( G graph )
Copied:
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultExportSelector.java
(from r1302922,
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/DefaultExportSelector.java?p2=commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultExportSelector.java&p1=commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/DefaultNamedExportSelector.java&r1=1302922&r2=1302923&rev=1302923&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/DefaultExportSelector.java
Tue Mar 20 14:53:34 2012
@@ -21,13 +21,13 @@ package org.apache.commons.graph.export;
import org.apache.commons.graph.Graph;
-public final class DefaultNamedExportSelector<V, E>
- implements ExportSelctor<V, E>
+public final class DefaultExportSelector<V, E>
+ implements ExportSelector<V, E>
{
private final Graph<V, E> graph;
- public DefaultNamedExportSelector( Graph<V, E> graph )
+ public DefaultExportSelector( Graph<V, E> graph )
{
this.graph = graph;
}
Copied:
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelector.java
(from r1302922,
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelctor.java)
URL:
http://svn.apache.org/viewvc/commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelector.java?p2=commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelector.java&p1=commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelctor.java&r1=1302922&r2=1302923&rev=1302923&view=diff
==============================================================================
---
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelctor.java
(original)
+++
commons/sandbox/graph/branches/exporters-with-mappers/src/main/java/org/apache/commons/graph/export/ExportSelector.java
Tue Mar 20 14:53:34 2012
@@ -19,7 +19,7 @@ package org.apache.commons.graph.export;
* under the License.
*/
-public interface ExportSelctor<V, E>
+public interface ExportSelector<V, E>
{
/**