remove incorrect assertion

This commit is contained in:
Gregory Shrago
2009-11-24 22:57:06 +03:00
parent b85cc4f922
commit 8651950feb
@@ -252,7 +252,6 @@ public class AnnotationUtilEx {
}
});
final int parameterIndex = byNameWorkAround > -1? byNameWorkAround : method.getParameterList().getParameterIndex(parameter);
assert parameterIndex > 0;
all.addAll(Arrays.asList(modifierList.getAnnotations()));
SuperMethodsSearch.search(method, null, true, true).forEach(new Processor<MethodSignatureBackedByPsiMethod>() {
public boolean process(final MethodSignatureBackedByPsiMethod superMethod) {