Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
Improve wording and indentation of Price comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chirhonul committed Aug 21, 2018
1 parent 8dbf6aa commit 7dcd361
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/bisq/core/monetary/Price.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*
* <br/>
* We wrap an object implementing the {@link Monetary} interface from bitcoinj. We respect the
* number of decimal digits of precision defined in the {@code smallestUnitExponent()} defined in
* number of decimal digits of precision specified in the {@code smallestUnitExponent()}, defined in
* those classes, like {@link Fiat} or {@link Altcoin}.
*
*/
Expand All @@ -55,7 +55,7 @@ public Price(Monetary monetary) {
*
* @param currencyCode The currency code to parse, e.g "USD" or "LTC".
* @param value The value to parse as a String, e.g "2.54" or "-0.0001".
* @return The parsed Price.
* @return The parsed Price.
*/
public static Price parse(String currencyCode, String value) {
final String cleaned = value.replace(",", ".");
Expand All @@ -70,7 +70,7 @@ public static Price parse(String currencyCode, String value) {
*
* @param currencyCode The currency code to parse, e.g "USD" or "LTC".
* @param value The value to parse.
* @return The parsed Price.
* @return The parsed Price.
*/
public static Price valueOf(String currencyCode, long value) {
if (CurrencyUtil.isFiatCurrency(currencyCode)) {
Expand Down

0 comments on commit 7dcd361

Please sign in to comment.