# HG changeset patch
# User Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
# Date 1507216793 -7200
# Node ID 237816fef5867b0017d9b2ffdeeffdf65176f0da
# Parent  fdf4c888d5b7aa1814e071ace9c62e450a626350
Correct the documentation of the cancel() method.

diff --git a/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java b/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java
+++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java
@@ -289,11 +289,10 @@ public class MonetStatement
 	}
 
 	/**
-	 * Cancels this Statement object if both the DBMS and driver support
-	 * aborting an SQL statement.  This method can be used by one thread to
-	 * cancel a statement that is being executed by another thread.
+	 * Cancels this Statement object if both the DBMS and driver support aborting an SQL statement.
+	 * This method can be used by one thread to cancel a statement that is being executed by another thread.
 	 *
-	 * @throws SQLException - if a database access error occurs or the cancel operation is not supported
+	 * @throws SQLException - if a database access error occurs or this method is called on a closed Statement
 	 * @throws SQLFeatureNotSupportedException - if the JDBC driver does not support this method
 	 */
 	@Override