Fix warnings (#1129)

* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change

* replaced deprecated methods by default methods

* FIX: more compiler warnings

* FIX more warnings - no code changes
This commit is contained in:
Roland Praml
2017-09-14 00:29:01 +12:00
committed by Rob Bygrave
parent a5f46c095d
commit ac6708e0d0
60 changed files with 127 additions and 128 deletions
@@ -147,7 +147,7 @@ class SqlTreeNodeBean implements SqlTreeNode {
return children[0].getSingleAttributeScalarType();
}
if (properties[0] instanceof BeanPropertyAssocOne<?>) {
BeanPropertyAssocOne assocOne = (BeanPropertyAssocOne<?>)properties[0];
BeanPropertyAssocOne<?> assocOne = (BeanPropertyAssocOne<?>)properties[0];
if (assocOne.isAssocId()) {
return assocOne.getTargetDescriptor().getIdProperty().getScalarType();
}