Explorar el Código

first bit of java 5 in the weaver module - will the build machine cope?

tags/V1_6_6
aclement hace 14 años
padre
commit
4852b21903
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 1
    0
      weaver/.isJava5
  2. 2
    2
      weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java

+ 1
- 0
weaver/.isJava5 Ver fichero

@@ -0,0 +1 @@

+ 2
- 2
weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java Ver fichero

@@ -42,9 +42,9 @@ public class BcelAnnotation extends AbstractAnnotationAJ {
/**
* {@inheritDoc}
*/
public Set /* of String */getTargets() {
public Set<String> getTargets() {
if (!type.equals(UnresolvedType.AT_TARGET)) {
return Collections.EMPTY_SET;
return Collections.emptySet();
}
List values = bcelAnnotation.getValues();
ElementNameValuePairGen envp = (ElementNameValuePairGen) values.get(0);

Cargando…
Cancelar
Guardar