J-Bakuli commented on code in PR #10230:
URL: https://github.com/apache/ignite/pull/10230#discussion_r967017013


##########
modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java:
##########
@@ -103,21 +103,42 @@ public ThinClientConfiguration 
setMaxActiveComputeTasksPerConnection(int maxActi
 
     /**
      * @return If {@code true} sends a server exception stack to the client 
side.
+     * @deprecated Use {@link #getServerExceptionStackTraceToClient()} instead.
      */
+    @Deprecated
     public boolean sendServerExceptionStackTraceToClient() {
         return sendServerExcStackTraceToClient;
     }
 
     /**
      * @param sendServerExcStackTraceToClient If {@code true} sends a server 
exception stack to the client side.
      * @return {@code this} for chaining.
+     * @deprecated Use {@link 
#setServerToClientExceptionStackTraceSending(boolean)} instead.
      */
+    @Deprecated
     public ThinClientConfiguration 
sendServerExceptionStackTraceToClient(boolean sendServerExcStackTraceToClient) {
         this.sendServerExcStackTraceToClient = sendServerExcStackTraceToClient;
 
         return this;
     }
 
+    /**
+     * @return If {@code true} gets a server exception stack that is to be 
sent to the client side.
+     */
+    public boolean getServerExceptionStackTraceToClient() {

Review Comment:
   I have deleted new getter, removed deprecation from the old one. So now 
additions to this PR are new setter and deprecation of the old setter, that's 
all.
   Answering your question, the new getter is redundant as we can leave without 
it as per now that is why it can be deleted as well as the deprecation can be 
removed
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to