Skip to content

Commit 40505ad

Browse files
committed
Update JavaDoc
1 parent e8c1981 commit 40505ad

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ public EnvVarIDTokenSource(String envVarName, Environment env) {
3232
*
3333
* @param audience The intended recipient of the ID Token (unused in this implementation).
3434
* @return An {@link IDToken} containing the token value from the environment variable.
35-
* @throws IllegalArgumentException if the environment variable name is null or empty, or the
36-
* environment is null.
35+
* @throws IllegalArgumentException if the environment variable name is null or empty.
3736
* @throws DatabricksException if the environment variable is not set or is empty.
38-
* @throws NullPointerException if the environment variable name is null.
39-
* @throws ClassCastException if the environment variable name is not a String.
4037
*/
4138
@Override
4239
public IDToken getIDToken(String audience) {

0 commit comments

Comments
 (0)