Skip to content

Commit

Permalink
Fix | Fix some of the Javadoc warnings (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvii authored May 28, 2018
1 parent feaa8c3 commit cbea8bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cbea8bd

Please sign in to comment.