File tree Expand file tree Collapse file tree
app/src/main/java/io/github/project516/NumberGuessingGame Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ public class ReadVersionFile {
1313 /**
1414 * Retrieves the current version of the game by reading from the version.txt resource file.
1515 *
16- * @return the version string, or "rolling" if the file cannot be read
16+ * @return the version string
1717 */
1818 public String readVersion () {
19- String content = "rolling " ; // Placeholder version
19+ String content = "0.1.0 " ; // Placeholder version
2020 try (InputStream inputStream =
2121 getClass ().getClassLoader ().getResourceAsStream ("version.txt" );
2222 BufferedReader reader = new BufferedReader (new InputStreamReader (inputStream ))) {
Original file line number Diff line number Diff line change 11Package: numberguessinggame
2- Version: 0.0.9
2+ Version: 0.1.0
33Section: games
44Priority: optional
55Architecture: all
You can’t perform that action at this time.
0 commit comments