GITHUB-34: final methods, interfaces and enums

This commit is contained in:
Andy Clement
2014-02-03 20:31:21 -08:00
parent 10b95ef8c1
commit 59be31b9f9
18 changed files with 269 additions and 77 deletions

View File

@@ -0,0 +1,10 @@
package grails;
public abstract class Implementation1<T> implements Interface1<T> {
@Override
public final T process1(T type) {
return type;
}
}

View File

@@ -0,0 +1,6 @@
package grails;
public interface Interface1<T> {
public T process1(T type);
}