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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user