No effective change - code cleanup - suppress some warnings

This commit is contained in:
Robin Bygrave
2015-07-31 19:48:59 +12:00
parent 58088b2090
commit ba3b1fea6f
4 changed files with 5 additions and 2 deletions
@@ -31,7 +31,8 @@ public class BeanCollectionHelpFactory {
}
}
@SuppressWarnings("unchecked")
public static <T> BeanCollectionHelp<T> create(OrmQueryRequest<T> request) {
SpiQuery.Type manyType = request.getQuery().getType();
@@ -30,6 +30,7 @@ public class BeanPropertyCompoundScalar extends BeanProperty {
/**
* Return one of the scalar values from a compound type.
*/
@SuppressWarnings("unchecked")
public Object getValueObject(Object compoundValue) {
if (typeConverter != null) {
compoundValue = typeConverter.unwrapValue(compoundValue);
@@ -182,6 +182,7 @@ public class SqlTreeNodeBean implements SqlTreeNode {
/**
* Read the version bean.
*/
@SuppressWarnings("unchecked")
public <T> Version<T> loadVersion(DbReadContext ctx) throws SQLException {
// read the sys period lower and upper bounds
@@ -250,7 +250,7 @@ public class ClassPathSearch implements ClassPathSearchService {
// close the jar if it was used
module.close();
} catch (IOException e) {
throw new IOException("Error closing jar", e);
logger.error("Error closing jar", e);
}
}
}