Skip to content

Commit

Permalink
Emphasize "should" a la rfc2119
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jul 10, 2024
1 parent c5037c9 commit f84c8d6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* object into another.
* <p>
* A {@code Transformer} converts the input object to the output object.
* The input object should be left unchanged.
* The input object SHOULD be left unchanged.
* Transformers are typically used for type conversions, or extracting data
* from an object.
* </p>
Expand All @@ -49,7 +49,10 @@ default R apply(final T t) {
}

/**
* Transforms the input object (leaving it unchanged) into some output object.
* Transforms the input object into some output object.
* <p>
* The input object SHOULD be left unchanged.
* </p>
*
* @param input the object to be transformed, should be left unchanged
* @return a transformed object
Expand Down

0 comments on commit f84c8d6

Please sign in to comment.