From 6e3c814e0859eb5c345ce04a3ee6e5844a8202b0 Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 16 Sep 2002 15:55:26 +0000 Subject: [PATCH] Set maxSize field to 0 if it is not specified in the type.properties file. --- src/helma/objectmodel/db/Relation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helma/objectmodel/db/Relation.java b/src/helma/objectmodel/db/Relation.java index adcb2feb..a099e0cc 100644 --- a/src/helma/objectmodel/db/Relation.java +++ b/src/helma/objectmodel/db/Relation.java @@ -178,6 +178,8 @@ public final class Relation { maxSize = Integer.parseInt (max); } catch (NumberFormatException nfe) { maxSize = 0; + } else { + maxSize = 0; } // get group by property groupby = props.getProperty (propName+".group");