Skip to content

Commit

Permalink
javadoc: fix emphasize tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrueckert committed Oct 28, 2023
1 parent 45e6571 commit 35c2bc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void postAdd(float amount) {
* result = max(0, ResultValueWithoutCapping)
* </pre>
*
* <emph>The result value is guaranteed to be non-negative!</emph>
* <em>The result value is guaranteed to be non-negative!</em>
*/
public float getResultValue() {
//TODO(skaldarnar): Based on a discussion in https://github.com/MovingBlocks/Terasology/pull/4063 we may want
Expand All @@ -76,7 +76,7 @@ public float getResultValue() {
* result = (<baseValue> + Σ <modifier>) * Π <multiplier> + Σ <postModifier>
* } </pre>
*
* <emph>Negative result values are allowed here.</emph>
* <em>Negative result values are allowed here.</em>
*/
public float getResultValueWithoutCapping() {
//TODO: Based on an extended discussion from : https://github.com/MovingBlocks/Terasology/pull/4063
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ModifiableValue postAdd(float amount) {
* The value is calculated based on the following formula:
* {@code result = (<baseValue> + Σ <modifier>) * Π <multiplier> + Σ <postModifier>}
*
* <emph>non-negativity of the value is not ensured and must be checked by the system if needed</emph>
* <em>non-negativity of the value is not ensured and must be checked by the system if needed</em>
*/
public float getValue() {
return (baseValue + preModifier) * multiplier + postModifier;
Expand Down

0 comments on commit 35c2bc3

Please sign in to comment.