mirror of https://github.com/dspinellis/UMLGraph
Comment why a refactoring is not possible.
This commit is contained in:
parent
b8407ffb00
commit
34274b2a59
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue