Fixed some warnings
This commit is contained in:
parent
033f4f346f
commit
11b00a20e9
@ -280,7 +280,6 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, I, IPK, T658,
|
||||
assertEquals(Arrays.asList("Coelho", "Orwell"), new ArrayList<String>(authorNames));
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@Test
|
||||
public void testUpdatablesPK() throws Exception {
|
||||
jOOQAbstractTest.reset = false;
|
||||
|
||||
@ -1715,6 +1715,12 @@ public class Factory implements FactoryOperations {
|
||||
catch (IOException e) {
|
||||
throw new DataAccessException("Could not read the CSV string", e);
|
||||
}
|
||||
finally {
|
||||
try {
|
||||
reader.close();
|
||||
}
|
||||
catch (IOException ignore) {}
|
||||
}
|
||||
|
||||
FieldList fields = new FieldList();
|
||||
|
||||
@ -3326,6 +3332,7 @@ public class Factory implements FactoryOperations {
|
||||
/**
|
||||
* This is not yet implemented
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
static <T extends java.util.Date> Field<T> trunc(Field<T> date, DatePart part) {
|
||||
throw new UnsupportedOperationException("This is not yet implemented");
|
||||
}
|
||||
|
||||
@ -66,6 +66,7 @@ class TimestampDiff extends AbstractFunction<DayToSecond> {
|
||||
this.timestamp2 = timestamp2;
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@Override
|
||||
final Field<DayToSecond> getFunction0(Configuration configuration) {
|
||||
switch (configuration.getDialect()) {
|
||||
|
||||
@ -78,6 +78,7 @@ class Trunc<T> extends AbstractFunction<T> {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private final Field<T> getDateTimeFunction(Configuration configuration) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user