eu-emi/canl-java — pull request #55 by loomis (2013-04-30 12:03:56+00:00)
Title: corrections for some issues detected by findbugs

Hello,

We use the canl-java library as part of StratusLab to allow our cloud users to identify themselves with standard grid credentials. I'm in the process of upgrading our code to use your latest release (1.2.1).

I ran findbugs over the 1.2.1 tag as part of this process. It flagged a significant number of potential bugs in the code. I've patched the code to correct the issues that were flagged as most severe by findbugs, mostly unclosed streams and potential multithreading issues.

The corrections for 1.2.1 are in the canl-1.2.1-stratuslab branch along with a couple of changes to bind the code to our build system (for a corrected 1.2.1 for StratusLab). I've also put these changes into the master branch. All of the unit tests that passed before the changes also pass after the changes.

You may want to merge these changes back into the master repository.

Cheers.

Cal Loomis