yohoho no longer cares if depot is built with 1.6, so build with that since we're using 1.6's Connection.createArrayOf in PostgreSQL4Builder. Sneak a ooo-buildification in with the compiler version bump.

This commit is contained in:
Charlie Groves
2011-03-23 20:42:00 +00:00
parent 1be9961245
commit 1a2967b31f
9 changed files with 69 additions and 63 deletions
@@ -575,6 +575,7 @@ public class Query<T extends PersistentRecord>
_pclass = pclass;
}
@Override
protected Query<T> clone ()
{
try {
@@ -111,7 +111,7 @@ public abstract class Projector<T extends PersistentRecord,R>
Class<T> ptype, final Class<V> resultType, SQLExpression<?>... selexps)
{
return new Projector<T, V>(ptype, selexps) {
public V createObject (Object[] results) {
@Override public V createObject (Object[] results) {
try {
return _ctor.newInstance(results);
} catch (InstantiationException e) {
@@ -69,7 +69,7 @@ public class MigrationTest extends TestBase
protected void executeSQL (PersistenceContext ctx, final String sql)
{
ctx.invoke(new Modifier.Simple() {
protected String createQuery (DatabaseLiaison liaison) {
@Override protected String createQuery (DatabaseLiaison liaison) {
return sql;
}
});
@@ -216,7 +216,7 @@ public class ProjectionTest extends TestBase
this.id = id;
this.name = name;
}
public String toString() {
@Override public String toString() {
return id + " " + name;
}
}