Skip to content

Commit

Permalink
Fixed CLI. Changed version number to 0.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
kciomek committed Oct 17, 2017
1 parent f9a242b commit ac0ac24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ It is written in Java.

## Documentation

* [API Documentation](https://kciomek.github.io/polyrun/docs/0.3.0/api/index.html)
* [API Documentation](https://kciomek.github.io/polyrun/docs/0.3.1/api/index.html)

## Get latest release

Expand All @@ -14,7 +14,7 @@ To add a dependency in your project's pom.xml use the following:
<dependency>
<groupId>com.github.kciomek</groupId>
<artifactId>polyrun</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
</dependency>

## Tutorial
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.kciomek</groupId>
<artifactId>polyrun</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
<packaging>jar</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/polyrun/cli/CLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void parse(String args[]) throws ParseException {
}

if (cmd.hasOption("version")) {
System.out.println("0.3.0"); // todo: read from resources
System.out.println("0.3.1"); // todo: read from resources
System.exit(0);
}

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/polyrun/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public void consume(double[] sample) {
for (double val : sample) {
sb.append(Double.toString(val)).append("\t");
}

System.out.println(sb.deleteCharAt(sb.length() - 1).toString());
}
});
} catch (Exception ex) {
Expand Down

0 comments on commit ac0ac24

Please sign in to comment.