mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-06 11:24:39 +08:00
Revert "Prevent closing already closed statements"
This reverts commit b9fc6a0b2b
.
This commit is contained in:
parent
a8f6014a42
commit
33d37a2f96
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user