Skip to content

Commit

Permalink
#1 more puzzles
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 2, 2021
1 parent 9f14314 commit 2bf114a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/org/polystat/Polystat.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
* Main entrance.
*
* @since 1.0
* @todo #1:1h Let's use some library for command line arguments parsing.
* The current implementation in this class is super primitive and must
* be replaced by something decent.
*/
public final class Polystat {

Expand Down Expand Up @@ -64,6 +67,13 @@ public static void main(final String... args) throws Exception {
* Run it.
* @param args The args
* @throws Exception If fails
* @todo #1:1h For some reason, the Logger.info() doesn't print anything
* to the console when the JAR is run via command line. It does print
* during testing, but doesn't show anything when being run as
* a JAR-with-dependencies. I didn't manage to find the reason, that's
* why added these "printf" instructions. Let's fix it, make sure
* Logger works in the JAR-with-dependencies, and remove this.stdout
* from this class at all.
*/
public void exec(final String... args) throws Exception {
if (args.length == 2) {
Expand Down

2 comments on commit 2bf114a

@0pdd
Copy link
Member

@0pdd 0pdd commented on 2bf114a Jul 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 1-f1256350 discovered in src/main/java/org/polystat/Polystat.java and submitted as #5. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link
Member

@0pdd 0pdd commented on 2bf114a Jul 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 1-6f8eb0a3 discovered in src/main/java/org/polystat/Polystat.java and submitted as #6. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

Please sign in to comment.