Skip to content

Commit 5696e72

Browse files
committed
Formating
1 parent 5ca27ee commit 5696e72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/purejava/integrations/keychain/BitwardenAccess.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private Optional<SecretIdentifierResponse> getSecret(String vault) throws Bitwar
165165

166166
/**
167167
* Resolve the Bitwarden endpoint based on the provided environment variables.
168-
* @param apiUrlEnv The API URL environment variable.
168+
* @param apiUrlEnv The API URL environment variable.
169169
* @param identityUrlEnv The Identity URL environment variable.
170170
* @return The resolved Bitwarden endpoint.
171171
*/
@@ -200,9 +200,9 @@ enum BitwardenEndpoint {
200200
}
201201

202202
/**
203-
* Check if the given environment variable is valid.
203+
* Check if the given environment variable is set.
204204
* @param var The environment variable to check.
205-
* @return true if the variable is valid, false otherwise.
205+
* @return true if the variable is set and is not empty, false otherwise.
206206
*/
207207
private boolean isEnvVarValid(String var) {
208208
return null != var && !var.isEmpty() && !var.isBlank();

0 commit comments

Comments
 (0)