Remove some more unnecessary parentheses

This commit is contained in:
hns 2009-09-18 15:01:48 +00:00
parent 7f15b6ab24
commit 82eda00edd

View file

@ -381,20 +381,20 @@ public final class Relation {
// get group by property
groupby = props.getProperty("group");
if ((groupby != null) && (groupby.trim().length() == 0)) {
if (groupby != null && groupby.trim().length() == 0) {
groupby = null;
}
if (groupby != null) {
groupbyOrder = props.getProperty("group.order");
if ((groupbyOrder != null) && (groupbyOrder.trim().length() == 0)) {
if (groupbyOrder != null && groupbyOrder.trim().length() == 0) {
groupbyOrder = null;
}
groupbyPrototype = props.getProperty("group.prototype");
if ((groupbyPrototype != null) && (groupbyPrototype.trim().length() == 0)) {
if (groupbyPrototype != null && groupbyPrototype.trim().length() == 0) {
groupbyPrototype = null;
}
@ -409,7 +409,7 @@ public final class Relation {
String local = props.getProperty("local");
String foreign = props.getProperty("foreign");
if ((local != null) && (foreign != null)) {
if (local != null && foreign != null) {
cnst.addElement(new Constraint(local, foreign, false));
columnName = local;
}
@ -419,7 +419,7 @@ public final class Relation {
local = props.getProperty("local."+i);
foreign = props.getProperty("foreign."+i);
if ((local != null) && (foreign != null)) {
if (local != null && foreign != null) {
cnst.addElement(new Constraint(local, foreign, false));
}
}