Set maxSize field to 0 if it is not specified in the type.properties file.
This commit is contained in:
parent
b7fa063e4e
commit
6e3c814e08
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,8 @@ public final class Relation {
|
||||||
maxSize = Integer.parseInt (max);
|
maxSize = Integer.parseInt (max);
|
||||||
} catch (NumberFormatException nfe) {
|
} catch (NumberFormatException nfe) {
|
||||||
maxSize = 0;
|
maxSize = 0;
|
||||||
|
} else {
|
||||||
|
maxSize = 0;
|
||||||
}
|
}
|
||||||
// get group by property
|
// get group by property
|
||||||
groupby = props.getProperty (propName+".group");
|
groupby = props.getProperty (propName+".group");
|
||||||
|
|
Loading…
Add table
Reference in a new issue