mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Change Mage version to 0.7.4-beta
This commit is contained in:
parent
9764a4e1b2
commit
18a416d184
4 changed files with 9 additions and 6 deletions
|
@ -108,7 +108,7 @@ public class MageFrame extends javax.swing.JFrame implements Client {
|
|||
private static Preferences prefs = Preferences.userNodeForPackage(MageFrame.class);
|
||||
private JLabel title;
|
||||
private Rectangle titleRectangle;
|
||||
private final static MageVersion version = new MageVersion(0, 7, 3);
|
||||
private final static MageVersion version = new MageVersion(0, 7, 4, "beta");
|
||||
private UUID clientId;
|
||||
private static MagePane activeFrame;
|
||||
|
||||
|
|
|
@ -40,10 +40,13 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
|
|||
private int minor;
|
||||
private int patch;
|
||||
|
||||
public MageVersion(int major, int minor, int patch) {
|
||||
private String info = "";
|
||||
|
||||
public MageVersion(int major, int minor, int patch, String info) {
|
||||
this.major = major;
|
||||
this.minor = minor;
|
||||
this.patch = patch;
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public int getMajor() {
|
||||
|
@ -60,7 +63,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return major + "." + minor + "." + patch;
|
||||
return major + "." + minor + "." + patch + info;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -71,7 +74,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
|
|||
return minor - o.minor;
|
||||
if (patch != o.patch)
|
||||
return patch - o.patch;
|
||||
return 0;
|
||||
return info.compareTo(o.info);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class ConsoleFrame extends javax.swing.JFrame {
|
|||
private static Session session;
|
||||
private ConnectDialog connectDialog;
|
||||
private static Preferences prefs = Preferences.userNodeForPackage(ConsoleFrame.class);
|
||||
private final static MageVersion version = new MageVersion(0, 7, 3);
|
||||
private final static MageVersion version = new MageVersion(0, 7, 4, "beta");
|
||||
|
||||
/**
|
||||
* @return the session
|
||||
|
|
|
@ -61,7 +61,7 @@ public class Main {
|
|||
private final static String testModeArg = "-testMode=";
|
||||
private final static String adminPasswordArg = "-adminPassword=";
|
||||
private final static String pluginFolder = "plugins";
|
||||
private static MageVersion version = new MageVersion(0, 7, 3);
|
||||
private static MageVersion version = new MageVersion(0, 7, 4, "beta");
|
||||
|
||||
public static PluginClassLoader classLoader = new PluginClassLoader();
|
||||
public static ServerImpl server;
|
||||
|
|
Loading…
Reference in a new issue