Skip to content

Commit

Permalink
Add since tags to method implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Aug 8, 2024
1 parent 917fa77 commit a0065b9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,11 @@ public BigFraction zero() {
return ZERO;
}

/** {@inheritDoc} */
/**
* {@inheritDoc}
*
* @since 1.2
*/
@Override
public boolean isZero() {
return numerator.signum() == 0;
Expand All @@ -514,7 +518,11 @@ public BigFraction one() {
return ONE;
}

/** {@inheritDoc} */
/**
* {@inheritDoc}
*
* @since 1.2
*/
@Override
public boolean isOne() {
return numerator.equals(denominator);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,11 @@ public Fraction zero() {
return ZERO;
}

/** {@inheritDoc} */
/**
* {@inheritDoc}
*
* @since 1.2
*/
@Override
public boolean isZero() {
return numerator == 0;
Expand All @@ -434,7 +438,11 @@ public Fraction one() {
return ONE;
}

/** {@inheritDoc} */
/**
* {@inheritDoc}
*
* @since 1.2
*/
@Override
public boolean isOne() {
return numerator == denominator;
Expand Down

0 comments on commit a0065b9

Please sign in to comment.