deniskuzZ commented on code in PR #6412:
URL: https://github.com/apache/hive/pull/6412#discussion_r3528627546
##########
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java:
##########
@@ -469,6 +459,27 @@ protected HiveConnection(String uri, Properties info,
client = newSynchronizedClient(client);
}
+ /**
+ * Reads {@code retries} and {@code retryInterval} from the session
configuration, updating
+ * {@link #maxRetries} as a side-effect, and returns the interval in
milliseconds (default 1000).
+ * Extracted from the constructor to keep its length within Sonar's 150-line
limit.
+ */
+ private long readRetryIntervalMillis() {
Review Comment:
please follow existing naming convention, getXXX
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]