diff --git a/src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java b/src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java index 64e55d5..c116714 100644 --- a/src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java +++ b/src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java @@ -42,7 +42,7 @@ * @param the vertex type * @param the weight type */ -class FlowNetworkHandler +final class FlowNetworkHandler extends BaseGraphVisitHandler, W> { diff --git a/src/main/java/org/apache/commons/graph/spanning/SuperVertex.java b/src/main/java/org/apache/commons/graph/spanning/SuperVertex.java index 84f4a03..78f5731 100644 --- a/src/main/java/org/apache/commons/graph/spanning/SuperVertex.java +++ b/src/main/java/org/apache/commons/graph/spanning/SuperVertex.java @@ -37,7 +37,7 @@ * @param the input Graph type * @param the weight operations */ -class SuperVertex +final class SuperVertex implements Iterable {