ソースを参照

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

tags/V1_6_6
aclement 14年前
コミット
4852b21903
2個のファイルの変更3行の追加2行の削除
  1. 1
    0
      weaver/.isJava5
  2. 2
    2
      weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java

+ 1
- 0
weaver/.isJava5 ファイルの表示

@@ -0,0 +1 @@

+ 2
- 2
weaver/src/org/aspectj/weaver/bcel/BcelAnnotation.java ファイルの表示

@@ -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);

読み込み中…
キャンセル
保存