Skip to content

Commit da14b20

Browse files
committed
升级版本
1 parent 63d6cdb commit da14b20

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

hsweb-web-starter/src/main/java/org/hsweb/web/starter/SystemVersion.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package org.hsweb.web.starter;
1818

19+
import java.io.Serializable;
20+
1921
public class SystemVersion extends Version {
2022

2123
private FrameworkVersion frameworkVersion = new FrameworkVersion();
@@ -72,7 +74,8 @@ public interface Property {
7274
}
7375
}
7476

75-
class Version implements Comparable<Version> {
77+
class Version implements Comparable<Version>, Serializable {
78+
7679
protected String name;
7780
protected String comment;
7881
protected String website;
@@ -81,6 +84,9 @@ class Version implements Comparable<Version> {
8184
protected int revisionVersion = 0;
8285
protected boolean snapshot = false;
8386

87+
public Version() {
88+
}
89+
8490
public void setVersion(int major, int minor, int revision, boolean snapshot) {
8591
this.majorVersion = major;
8692
this.minorVersion = minor;
@@ -177,4 +183,5 @@ public String toString() {
177183
.append(minorVersion).append(".")
178184
.append(revisionVersion).append(snapshot ? ".SNAPSHOT" : "").toString();
179185
}
186+
180187
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<aspectj.version>1.6.12</aspectj.version>
7474
<hibernate.validator.version>5.1.1.Final</hibernate.validator.version>
7575
<hsweb.ezorm.version>1.2-SNAPSHOT</hsweb.ezorm.version>
76-
<hsweb.commons.version>1.0.2</hsweb.commons.version>
76+
<hsweb.commons.version>1.0.3</hsweb.commons.version>
7777
<hsweb.expands.version>1.0</hsweb.expands.version>
7878
</properties>
7979

0 commit comments

Comments
 (0)