Remove some more unnecessary parentheses
This commit is contained in:
parent
7f15b6ab24
commit
82eda00edd
1 changed files with 6 additions and 6 deletions
|
@ -381,20 +381,20 @@ public final class Relation {
|
||||||
// get group by property
|
// get group by property
|
||||||
groupby = props.getProperty("group");
|
groupby = props.getProperty("group");
|
||||||
|
|
||||||
if ((groupby != null) && (groupby.trim().length() == 0)) {
|
if (groupby != null && groupby.trim().length() == 0) {
|
||||||
groupby = null;
|
groupby = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (groupby != null) {
|
if (groupby != null) {
|
||||||
groupbyOrder = props.getProperty("group.order");
|
groupbyOrder = props.getProperty("group.order");
|
||||||
|
|
||||||
if ((groupbyOrder != null) && (groupbyOrder.trim().length() == 0)) {
|
if (groupbyOrder != null && groupbyOrder.trim().length() == 0) {
|
||||||
groupbyOrder = null;
|
groupbyOrder = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
groupbyPrototype = props.getProperty("group.prototype");
|
groupbyPrototype = props.getProperty("group.prototype");
|
||||||
|
|
||||||
if ((groupbyPrototype != null) && (groupbyPrototype.trim().length() == 0)) {
|
if (groupbyPrototype != null && groupbyPrototype.trim().length() == 0) {
|
||||||
groupbyPrototype = null;
|
groupbyPrototype = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -409,7 +409,7 @@ public final class Relation {
|
||||||
String local = props.getProperty("local");
|
String local = props.getProperty("local");
|
||||||
String foreign = props.getProperty("foreign");
|
String foreign = props.getProperty("foreign");
|
||||||
|
|
||||||
if ((local != null) && (foreign != null)) {
|
if (local != null && foreign != null) {
|
||||||
cnst.addElement(new Constraint(local, foreign, false));
|
cnst.addElement(new Constraint(local, foreign, false));
|
||||||
columnName = local;
|
columnName = local;
|
||||||
}
|
}
|
||||||
|
@ -419,7 +419,7 @@ public final class Relation {
|
||||||
local = props.getProperty("local."+i);
|
local = props.getProperty("local."+i);
|
||||||
foreign = props.getProperty("foreign."+i);
|
foreign = props.getProperty("foreign."+i);
|
||||||
|
|
||||||
if ((local != null) && (foreign != null)) {
|
if (local != null && foreign != null) {
|
||||||
cnst.addElement(new Constraint(local, foreign, false));
|
cnst.addElement(new Constraint(local, foreign, false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue