Commit [r4305]  Maximize  Restore  History

Cleanup: Database connection and resource release

Setting variable to null within a helper method doesn't affect anything,
as it's only a reference located on the stack that is nulled.
It's been invalidated nevertheless immediately after the method is left.

Instead 'null' the reference where the object has initially been
instantiated.

pitpalme 2013-03-07

changed /wiki/branches/pitpalme/jamwiki-core/src/main/java/org/jamwiki/db/AnsiDataHandler.java
changed /wiki/branches/pitpalme/jamwiki-core/src/main/java/org/jamwiki/db/AnsiQueryHandler.java
changed /wiki/branches/pitpalme/jamwiki-core/src/main/java/org/jamwiki/db/DatabaseConnection.java
/wiki/branches/pitpalme/jamwiki-core/src/main/java/org/jamwiki/db/AnsiDataHandler.java Diff Switch to side-by-side view
Loading...
/wiki/branches/pitpalme/jamwiki-core/src/main/java/org/jamwiki/db/AnsiQueryHandler.java Diff Switch to side-by-side view
Loading...
/wiki/branches/pitpalme/jamwiki-core/src/main/java/org/jamwiki/db/DatabaseConnection.java Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks