1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-10 16:48:05 +02:00

Revert "Prevent closing already closed statements"

This reverts commit 9c2af4adbf.
This commit is contained in:
snowleo
2011-08-08 18:14:20 +02:00
parent 1d89353cf1
commit ec5e2afe51

View File

@@ -76,10 +76,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{
@@ -120,10 +117,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{
@@ -201,10 +195,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{
@@ -250,10 +241,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{
@@ -308,10 +296,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{
@@ -371,10 +356,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{
@@ -416,10 +398,7 @@ public abstract class ProtectedBlockJDBC implements IProtectedBlock
{
try
{
if (!ps.isClosed())
{
ps.close();
}
ps.close();
}
catch (SQLException ex)
{