Suppress unused argument warnings in unavoidable cases

It would be nice if Eclipse were smart enough to ignore unused
argument warnings on @UiHandler and @Option methods, but alas it does
not. Suppressing these is ugly, but based on all the cleanup in the
previous commit, the benefit outweighs the cost.

Change-Id: I743917787ffb53be034eee3af2c525652fc18cb0
This commit is contained in:
Dave Borowitz
2014-10-28 14:31:44 -07:00
parent b942d0b0a2
commit c8d85ab5f4
30 changed files with 108 additions and 97 deletions

View File

@@ -84,7 +84,12 @@ public class StoredValue<T> {
env.set(this, obj);
}
/** Creates a value to store, returns null by default. */
/**
* Creates a value to store, returns null by default.
*
* @param engine Prolog engine.
* @return new value.
*/
protected T createValue(Prolog engine) {
return null;
}