Skip to content

Commit 92ca695

Browse files
bactgoneall
authored andcommitted
Update getProperty(list) Javadoc
Signed-off-by: Arthit Suriyawongkul <[email protected]>
1 parent ba054b7 commit 92ca695

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/spdx/Configuration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ public String getProperty(final String propertyName, final String defaultValue)
9595

9696
/**
9797
* Retrieve the value of the first found configuration property from a list
98-
* of names; return a default value if none are found.
98+
* of names; return a default value if none are found
9999
* <p>
100100
* This method checks each property name in the provided list in order.
101101
* If a property name is not found, it moves on to the next one.
102102
* If a property name is found, its value is returned.
103103
* If none of the property names are found, the provided default value is returned.
104104
*
105-
* @param propertyNames An ordered list of property names to check.
106-
* @param defaultValue The default value to return if none of the property names are found.
105+
* @param propertyNames An ordered list of configuration property names to retrieve.
106+
* @param defaultValue The default value to return if none of the properties are found.
107107
* @return The value of the first found property name, or {@code defaultValue} if none are found.
108108
*/
109109
public String getProperty(final List<String> propertyNames, final String defaultValue) {

0 commit comments

Comments
 (0)