mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - code cleanup - suppress some warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user