DelegateMethodsTest.testCopyJavadoc fixed

This commit is contained in:
Danila Ponomarenko
2012-06-18 20:25:08 +04:00
parent 528aa74bfd
commit 4849752e85
@@ -242,7 +242,7 @@ public class GenerateMembersUtil {
try {
final PsiMethod resultMethod = createMethod(factory, sourceMethod);
copyDocComment(resultMethod, sourceMethod);
copyDocComment(sourceMethod, resultMethod);
copyModifiers(sourceMethod.getModifierList(), resultMethod.getModifierList());
final PsiSubstitutor collisionResolvedSubstitutor =
substituteTypeParameters(factory, codeStyleManager, target, sourceMethod.getTypeParameterList(), resultMethod.getTypeParameterList(), substitutor);