Tag code

Parsing dates in Java

Clearly, the correct way to deal with dates in Java is with Joda, but I've been looking at a project which doesn't have Joda installed already, and I haven't earned the right to rearrange that project's dependencies and build patterns....

Runtime disabling of TestNG groups

We have recently started to use TestNG and I like it. One thing that is needed is runtime control over whether or not to run a group of tests. We have both unit tests and integration tests to assure ourselves of the system’s health....

Top 25 Most Dangerous Programming Errors

The 2009 CWE/SANS Top 25 Most Dangerous Programming Errors is a list of the most significant programming errors that can lead to serious software vulnerabilities. They occur frequently, are often easy to find, and easy to exploit. They...