Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed JavaDoc that prevented compilation due to literal greater than … #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@
</developers>

<scm>
<url>scm:git:https://github.com/mikvor/money-conversion.git</url>
<url>https://github.com/minmay/money-conversion</url>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am pretty sure this is in my repo.

<connection>scm:git:git://github.com/minmay/money-conversion.git</connection>
<developerConnection>scm:git:[email protected]:minmay/money-conversion.git</developerConnection>
</scm>

<distributionManagement>
<repository>
<id>nexus</id>
<url>http://galaxy.natebrau.info:8081/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>nexus</id>
<url>http://galaxy.natebrau.info:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

</project>
2 changes: 1 addition & 1 deletion src/main/java/info/javaperformance/money/Money.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public interface Money extends Comparable<Money> {

/**
* Truncate the current value leaving no more than {@code maximalPrecision} signs after decimal point.
* The number will be rounded towards closest digit (0-4 -> 0; 5-9 -> 1)
* The number will be rounded towards closest digit (0-4 -{@literal <} 0; 5-9 -{@literal >} 1)
* @param maximalPrecision Required precision
* @return A new Money object normalized to the efficient representation if possible
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/info/javaperformance/money/MoneyFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/**
* Converter from String/double/float/integer types into Money instances.
* Requires the precision to be specified for double->Money conversion. Precision is usually based
* Requires the precision to be specified for double-{@literal >}Money conversion. Precision is usually based
* on the smallest tick in your exchange data.
*/
public class MoneyFactory {
Expand Down