FR [2526794] - Refactoring to change serialVersionUID=1L with proper value

https://sourceforge.net/tracker2/?func=detail&aid=2526794&group_id=176962&atid=879335
This commit is contained in:
Carlos Ruiz 2009-01-21 19:01:48 +00:00
parent bd69fd17b0
commit d6529914fc
1 changed files with 6 additions and 2 deletions

View File

@ -177,8 +177,12 @@ public class ModelClassGenerator
.append("\t/**").append(NL)
.append("\t *").append(NL)
.append("\t */").append(NL)
//.append("\tprivate static final long serialVersionUID = ").append(Adempiere.MAIN_VERSION.substring(8)).append(";").append(NL)
.append("\tprivate static final long serialVersionUID = 1L;").append(NL)
.append("\tprivate static final long serialVersionUID = ")
.append(Adempiere.DB_VERSION.substring(0,4))
.append(Adempiere.DB_VERSION.substring(5,7))
.append(Adempiere.DB_VERSION.substring(8))
.append("L;").append(NL)
//.append("\tprivate static final long serialVersionUID = 1L;").append(NL)
// Standard Constructor
.append(NL)