Skip to content

Commit bf671fe

Browse files
Minor comment change
1 parent 2c74c03 commit bf671fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth/OAuthClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ private static String encodeParam(String value) {
209209
try {
210210
return URLEncoder.encode(value, "UTF-8");
211211
} catch (UnsupportedEncodingException e) {
212-
// This should never happen. Though, the exception is a "checked" exception
213-
// so we need to catch it here so that we do not have to propagate it to
214-
// the method signature.
212+
// This should never happen. The exception is catched because it is
213+
// a "checked" exception that we do not want to propagate to the method
214+
// signature.
215215
throw new RuntimeException("UTF-8 encoding not supported", e);
216216
}
217217
}

0 commit comments

Comments
 (0)