Monthly Archives: July 2010

Do not ignore IOException when calling close on Outputstreams/Writers

As a good Java Programmer you should close your resources in a finally block, most programmers do so. But what you can see very often is that the close-call is surrounded by a catch block catching IOExceptions and irgnoring them, … Continue reading

Posted in Java, Tips | Leave a comment

Java command line argument processing

A nice way to process command line arguments is arg4j (https://args4j.dev.java.net/). The resulting code will be 10 times better than code using Apache Commons CLI (never use Findbugs/PMD or any other static software analyse tool on Commons CLI and never, … Continue reading

Posted in Java, Projects | 1 Comment