Skip to content

Commit

Permalink
SNOW-887071 : Rename method to setEnablePutGet from putEnablePutGet (#…
Browse files Browse the repository at this point in the history
…1525)

Rename method to setEnablePutGet from putEndbalePutGet
  • Loading branch information
sfc-gh-igarish authored Oct 5, 2023
1 parent c997f9a commit 334e2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/snowflake/client/core/SFBaseSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ public boolean getEnablePutGet() {
return enablePutGet;
}

public boolean putEnablePutGet(boolean enablePutGet) {
public boolean setEnablePutGet(boolean enablePutGet) {
return this.enablePutGet = enablePutGet;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/snowflake/client/core/SFSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public void addSFSessionProperty(String propertyName, Object propertyValue) thro

case ENABLE_PUT_GET:
if (propertyValue != null) {
putEnablePutGet(getBooleanValue(propertyValue));
setEnablePutGet(getBooleanValue(propertyValue));
}
break;

Expand Down

0 comments on commit 334e2d0

Please sign in to comment.