1.1 --- a/openide.util/test/unit/src/org/openide/util/lookup/AbstractLookupTest.java Fri Sep 25 14:02:54 2009 +0200
1.2 +++ b/openide.util/test/unit/src/org/openide/util/lookup/AbstractLookupTest.java Fri Oct 09 15:11:13 2009 -0400
1.3 @@ -51,6 +51,7 @@
1.4 import org.openide.util.Lookup;
1.5 import org.openide.util.lookup.AbstractLookup.Pair;
1.6
1.7 +@SuppressWarnings("unchecked") // XXX ought to be corrected, just a lot of them
1.8 public class AbstractLookupTest extends AbstractLookupBaseHid implements AbstractLookupBaseHid.Impl {
1.9 public AbstractLookupTest(java.lang.String testName) {
1.10 super(testName, null);
1.11 @@ -86,7 +87,7 @@
1.12 public int cleared;
1.13 public int dirty;
1.14
1.15 - synchronized boolean cleanUpResult (Template t) {
1.16 + synchronized @Override boolean cleanUpResult(Template t) {
1.17 boolean res = super.cleanUpResult (t);
1.18 if (res) {
1.19 cleared++;
1.20 @@ -172,7 +173,7 @@
1.21 this.ic = ic;
1.22 }
1.23
1.24 - protected void initialize () {
1.25 + protected @Override void initialize() {
1.26 if (direct) {
1.27 run ();
1.28 } else {
1.29 @@ -214,7 +215,7 @@
1.30 this.ic = c;
1.31 }
1.32
1.33 - protected void beforeLookup (Template t) {
1.34 + protected @Override void beforeLookup(Template t) {
1.35 if (toAdd != null) {
1.36 list.add (0, new SerialPair (toAdd));
1.37 setPairs (list);