Skip to content

Commit 257fd56

Browse files
committed
Document type parameter
1 parent 6c7c462 commit 257fd56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/nordstrom/common/file/OSUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public T getType() {
6262
* Add the specified mapping to the collection.<br>
6363
* <b>NOTE</b>: If a mapping for the specified constant already exists, this mapping will be replaced.
6464
*
65+
* @param <U> an operating system mapping enumeration that implements the {@link OSProps} interface
6566
* @param typeConst OS type constant
6667
* @return value of previous mapping; 'null' if no mapping existed
6768
*/
@@ -74,6 +75,7 @@ public <U extends Enum<U> & OSProps> String put(U typeConst) {
7475
* Add the specified mapping to the collection.<br>
7576
* <b>NOTE</b>: If a mapping for the specified constant already exists, this mapping will be replaced.
7677
*
78+
* @param <U> an operating system mapping enumeration that implements the {@link OSProps} interface
7779
* @param typeConst OS type constant
7880
* @param pattern OS name match pattern
7981
* @return value of previous mapping; 'null' if no mapping existed
@@ -87,6 +89,7 @@ public <U extends Enum<U> & OSProps> String put(U typeConst, String pattern) {
8789
* Add the mappings defined by the specified enumeration to the collection.<br>
8890
* <b>NOTE</b>: If any of the specified mappings already exist, the previous mappings will be replaced.
8991
*
92+
* @param <U> an operating system mapping enumeration that implements the {@link OSProps} interface
9093
* @param enumClass operating system mapping enumeration
9194
*/
9295
public <U extends Enum<U> & OSProps> void putAll(Class<U> enumClass) {

0 commit comments

Comments
 (0)