Comment why a refactoring is not possible.

This commit is contained in:
Diomidis Spinellis 2005-11-15 15:39:07 +00:00
parent b8407ffb00
commit 34274b2a59
2 changed files with 12 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {