Browse Source

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

tags/V1_6_6
aclement 14 years ago
parent
commit
4852b21903
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      weaver/.isJava5
  2. 2
    2
      weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java

+ 1
- 0
weaver/.isJava5 View File


+ 2
- 2
weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java View File

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

Loading…
Cancel
Save