Ver código fonte

fixing a missing "throw" clause

tags/PRE_ANDY
avasseur 19 anos atrás
pai
commit
b151d1a68c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      runtime/src/org/aspectj/lang/Aspects.java

+ 1
- 1
runtime/src/org/aspectj/lang/Aspects.java Ver arquivo

@@ -85,7 +85,7 @@ public class Aspects {
if (!method.isAccessible()
|| !Modifier.isPublic(method.getModifiers())
|| !Modifier.isStatic(method.getModifiers())) {
new NoSuchMethodException(aspectClass.getName() + ".aspectOf(..) is not accessible public static");
throw new NoSuchMethodException(aspectClass.getName() + ".aspectOf(..) is not accessible public static");
}
return method;
}

Carregando…
Cancelar
Salvar