Integrate hint from Teo Sarca -> BigDecimal for accesslevel

BUG ID 1617928 - Inefficient use of Boolean ctor for gen. model
Pending generation of the whole model for next version
This commit is contained in:
Carlos Ruiz 2006-12-27 16:00:13 +00:00
parent 46f6f07ae0
commit 280a4e9b87
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public class GenerateModel
// + "protected static KeyNamePair Model = new KeyNamePair(").append(AD_Table_ID).append(",\"").append(tableName).append("\");\n"
+ "protected static KeyNamePair Model = new KeyNamePair(Table_ID,\"").append(tableName).append("\");\n"
//
+ "protected BigDecimal accessLevel = new BigDecimal(").append(accessLevel).append(");"
+ "protected BigDecimal accessLevel = BigDecimal.valueOf(").append(accessLevel).append(");"
+ "/** AccessLevel\n@return ").append(accessLevelInfo).append("\n*/\n"
+ "protected int get_AccessLevel()"
+ "{"