mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - code cleanup - remove unnecessary boxing
This commit is contained in:
1 parent
ba3b1fea6f
commit
9fe47194ff
34 files changed
+55
-78
No files matched your search
@@ -194,7 +194,7 @@ public class DeployInheritInfo {
|
||||
discriminatorStringValue = value;
|
||||
// convert the value if desired
|
||||
if (discriminatorType == Types.INTEGER){
|
||||
this.discriminatorObjectValue = Integer.valueOf(value.toString());
|
||||
this.discriminatorObjectValue = Integer.valueOf(value);
|
||||
} else {
|
||||
this.discriminatorObjectValue = value;
|
||||
}
|
||||
@@ -253,11 +253,7 @@ public class DeployInheritInfo {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("InheritInfo[").append(type.getName()).append("]");
|
||||
sb.append(" root[").append(parent.getName()).append("]");
|
||||
sb.append(" disValue[").append(discriminatorStringValue).append("]");
|
||||
return sb.toString();
|
||||
return "InheritInfo[" + type.getName() + "]" + " root[" + parent.getName() + "]" + " disValue[" + discriminatorStringValue + "]";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user