From 3aed0302692656bd7032cd450268302dbb75f41d Mon Sep 17 00:00:00 2001 From: ulvii Date: Fri, 18 May 2018 12:59:19 -0700 Subject: [PATCH] Fix | Fix some of the Javadoc warnings --- .../com/microsoft/sqlserver/jdbc/SQLServerConnection.java | 8 ++++---- .../com/microsoft/sqlserver/jdbc/SQLServerDataSource.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java index 377f45859..6e64d9885 100644 --- a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java +++ b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java @@ -5722,18 +5722,18 @@ final void unprepareUnreferencedPreparedStatementHandles(boolean force) { } /** - * Returns true if statement pooling is disabled. + * Determine whether statement pooling is disabled. * - * @return + * @return true if statement pooling is disabled, false if it is enabled. */ public boolean getDisableStatementPooling() { return this.disableStatementPooling; } /** - * Sets statement pooling to true or false; + * Disable/enable statement pooling. * - * @param value + * @param value true to disable statement pooling, false to enable it. */ public void setDisableStatementPooling(boolean value) { this.disableStatementPooling = value; diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDataSource.java b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDataSource.java index 353c0ddd1..96d25f106 100644 --- a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDataSource.java +++ b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDataSource.java @@ -784,16 +784,16 @@ public int getStatementPoolingCacheSize() { } /** - * Sets the statement pooling to true or false - * @param disableStatementPooling + * Disable/enable statement pooling. + * @param disableStatementPooling true to disable statement pooling, false to enable it. */ public void setDisableStatementPooling(boolean disableStatementPooling) { setBooleanProperty(connectionProps, SQLServerDriverBooleanProperty.DISABLE_STATEMENT_POOLING.toString(), disableStatementPooling); } /** - * Returns true if statement pooling is disabled. - * @return + * Determine whether statement pooling is disabled. + * @return true if statement pooling is disabled, false if it is enabled. */ public boolean getDisableStatementPooling() { boolean defaultValue = SQLServerDriverBooleanProperty.DISABLE_STATEMENT_POOLING.getDefaultValue();