diff --git a/src/gr/spinellis/umlgraph/doclet/ClassGraph.java b/src/gr/spinellis/umlgraph/doclet/ClassGraph.java index 198fcbc..b6cc72d 100644 --- a/src/gr/spinellis/umlgraph/doclet/ClassGraph.java +++ b/src/gr/spinellis/umlgraph/doclet/ClassGraph.java @@ -222,6 +222,12 @@ class ClassGraph { } } + /* + * The following two methods look similar, but can't + * be refactored into one, because their common interface, + * ExecutableMemberDoc, doesn't support returnType for ctors. + */ + /** Print the class's constructors m */ private void operations(ConstructorDoc m[]) { for (ConstructorDoc cd : m) { diff --git a/src/org/umlgraph/doclet/ClassGraph.java b/src/org/umlgraph/doclet/ClassGraph.java index 198fcbc..b6cc72d 100644 --- a/src/org/umlgraph/doclet/ClassGraph.java +++ b/src/org/umlgraph/doclet/ClassGraph.java @@ -222,6 +222,12 @@ class ClassGraph { } } + /* + * The following two methods look similar, but can't + * be refactored into one, because their common interface, + * ExecutableMemberDoc, doesn't support returnType for ctors. + */ + /** Print the class's constructors m */ private void operations(ConstructorDoc m[]) { for (ConstructorDoc cd : m) {