Skip to content

Commit

Permalink
Version string can be queried
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainhalle committed Mar 17, 2017
1 parent d9e7c9a commit b820cac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Source/Core/src/ca/uqac/lif/jerrydog/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,15 @@ public static String formatDate(Date d)
{
return s_dateFormat.format(d);
}

/**
* Gets the version of this instance of Jerrydog
* @return The version string
*/
public static String getVersionString()
{
return s_versionString;
}

/**
* Main method. Starts an empty server.
Expand Down

0 comments on commit b820cac

Please sign in to comment.