condition on finally clause modified in the process method

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99397 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Loredana Liccardo 2014-09-02 13:35:34 +00:00
parent 235b900984
commit df7c0e9d7a
6 changed files with 6 additions and 6 deletions

View File

@ -147,7 +147,7 @@ public class GetTableDetails extends StandardLocalExternalAlgorithm {
} finally {
if (sf.isClosed() == false) {
if (sf!=null && sf.isClosed() == false) {
mgt.closeConnection();
}

View File

@ -164,7 +164,7 @@ public class ListSchemas extends StandardLocalExternalAlgorithm {
} finally {
if (sf.isClosed() == false) {
if (sf!=null && sf.isClosed() == false) {
mgt.closeConnection();
}

View File

@ -204,7 +204,7 @@ public class ListTables extends StandardLocalExternalAlgorithm {
} finally {
if (sf.isClosed() == false) {
if (sf!=null && sf.isClosed() == false) {
mgt.closeConnection();
}

View File

@ -142,7 +142,7 @@ public class RandomSampleOnTable extends StandardLocalExternalAlgorithm {
} finally {
// close the connection
if (sf.isClosed() == false) {
if (sf!=null && sf.isClosed() == false) {
mgt.closeConnection();
}
}

View File

@ -140,7 +140,7 @@ public class SampleOnTable extends StandardLocalExternalAlgorithm {
} finally {
// close the connection
if (sf.isClosed() == false) {
if (sf!=null && sf.isClosed() == false) {
mgt.closeConnection();
}
}

View File

@ -141,7 +141,7 @@ public class SmartSampleOnTable extends StandardLocalExternalAlgorithm {
} finally {
// close the connection
if (sf.isClosed() == false) {
if (sf!=null && sf.isClosed() == false) {
mgt.closeConnection();
}
}