Archive for August, 2011

  • Squeezing max from the ‘try/finally’ blocks

    on Aug 23, 11 • by Mikhail Ksenzov • with 3 Comments

    I often hear that closing resources properly is way too verbose in Java, especially considering that resource freeing methods such as ‘close()’ are often throwing some type of an exception. However, if you handle resources properly it might turn out to be less of a burden than one might think. Let’s start with the following snippet, where I use an SQL driver to retrieve the list of “codes” matching the given “id”: 09 List<String> requestCodes(String dbUrl, String id) { 10   List<String> result = new ArrayList<String>(); 11   try { 12     Connection conn = DriverManager.getConnection(dbUrl); 13     PreparedStatement

    Read More »
  • Klocwork Partners with Italian Reseller Italsoft

    on Aug 16, 11 • by Meranda Powers • with No Comments

    New partnership to help address productivity challenges of embedded software developers BURLINGTON, Mass — Aug 16, 2011 — Klocwork, Inc, the global leader in automated source code analysis solutions for improving developer productivity, today announced a reseller partnership with Italsoft, a leading Italian distributor of software solutions for embedded developers. This new agreement allows Italsoft to sell and service Klocwork Insight and Klocwork Insight Pro as part of their extensive product portfolio. Built upon a proven static analysis engine, Klocwork’s toolset offers source code analysis of C, C++, C# and Java code, automated refactoring for

    Read More »
Scroll to top