Permalink
Browse files

fix: Correct typo in CopyManager comment (#1285)

  • Loading branch information...
sehrope authored and vlsi committed Aug 2, 2018
1 parent b5c19af commit 203a106ddc9eb0d94cc94838f4fb0924e37f441a
Showing with 2 additions and 2 deletions.
  1. +2 −2 pgjdbc/src/main/java/org/postgresql/copy/CopyManager.java
@@ -95,7 +95,7 @@ public long copyOut(final String sql, Writer to) throws SQLException, IOExceptio
if (cp.isActive()) {
cp.cancelCopy();
}
try { // read until excausted or operation cancelled SQLException
try { // read until exhausted or operation cancelled SQLException
while ((buf = cp.readFromCopy()) != null) {
}
} catch (SQLException sqlEx) {
@@ -130,7 +130,7 @@ public long copyOut(final String sql, OutputStream to) throws SQLException, IOEx
if (cp.isActive()) {
cp.cancelCopy();
}
try { // read until excausted or operation cancelled SQLException
try { // read until exhausted or operation cancelled SQLException
while ((buf = cp.readFromCopy()) != null) {
}
} catch (SQLException sqlEx) {

0 comments on commit 203a106

Please sign in to comment.