Reverted change to use Version object.

This commit is contained in:
nathan 2017-09-14 23:02:06 +02:00
parent ae9aad845f
commit 51b7f2c8c1
2 changed files with 3 additions and 5 deletions

View File

@ -88,7 +88,7 @@ Maven Info
<dependency> <dependency>
<groupId>com.dorkbox</groupId> <groupId>com.dorkbox</groupId>
<artifactId>Console</artifactId> <artifactId>Console</artifactId>
<version>3.3</version> <version>3.4</version>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```

View File

@ -24,7 +24,6 @@ import dorkbox.console.input.Terminal;
import dorkbox.console.output.Ansi; import dorkbox.console.output.Ansi;
import dorkbox.console.output.AnsiOutputStream; import dorkbox.console.output.AnsiOutputStream;
import dorkbox.util.Property; import dorkbox.util.Property;
import dorkbox.util.Version;
/** /**
* Provides access to single character input streams and ANSI capable output streams. * Provides access to single character input streams and ANSI capable output streams.
@ -86,11 +85,10 @@ class Console {
* Gets the version number. * Gets the version number.
*/ */
public static public static
Version getVersion() { String getVersion() {
return new Version("3.3"); return "3.4";
} }
/** /**
* Initializes output streams, necessary when using ANSI for the first time inside of an output stream (as it initializes after * Initializes output streams, necessary when using ANSI for the first time inside of an output stream (as it initializes after
* assignment). This is not needed for input streams, since they do not hook System.err/out. * assignment). This is not needed for input streams, since they do not hook System.err/out.