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

Commit

Permalink
Fixed javadoc errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsticks committed Apr 16, 2018
1 parent a95108f commit a6951f4
Show file tree
Hide file tree
Showing 38 changed files with 254 additions and 281 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Release Notes

- *1.0* API as defined by JSR 354 Spec.
- *1.0.1* API as defined by JSR 354 Spec (Fix: building Java 7 API with Java 7)
- *1.0.3* API as defined by JSR 354 Spec (Fix: smaller fixes in ServiceContext and conversion internals).


[![Maven Central](https://maven-badges.herokuapp.com/maven-central/javax.money/money-api-bp/badge.svg)](https://maven-badges.herokuapp.com/maven-central/javax.money/money-api-bp)
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<groupId>javax.money</groupId>
<artifactId>money-api-bp</artifactId>
<packaging>jar</packaging>
<version>1.0.2-SNAPSHOT</version>
<name>Money and Currency API (JSR 354) - Java 6/7 Compatible Version</name>
<version>1.0.3</version>
<name>Money and Currency API (JSR 354) - Java 7 Compatible Version</name>
<url>http://java.net/projects/javamoney</url>
<inceptionYear>2012</inceptionYear>
<description>JSR 354 provides an API for representing, transporting, and performing comprehensive calculations with
Expand Down Expand Up @@ -313,7 +313,7 @@
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<defaultKeyring>false</defaultKeyring>
<keyname>0E3BCC9A</keyname>
<keyname>11A1E4D6</keyname>
</configuration>
<executions>
<execution>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/javax/money/AbstractContextBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
* This interface defines the common generic parts of a query. Queries are used to pass complex parameters sets
* to lookup monetary artifacts, e.g. {@link MonetaryAmountFactory},
* {@link MonetaryRounding},
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link org.javamoney.bp.api.convert
* .CurrencyConversion}.
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link javax.money.convert.CurrencyConversion}.
* <p>
* Instances of this class are not thread-safe and not serializable.
*/
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/javax/money/AbstractQueryBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* This abstract class defines the common generic parts of a query. Queries are used to pass complex parameters sets
* to lookup monetary artifacts, e.g. {@link MonetaryAmountFactory},
* {@link MonetaryRounding},
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link org.javamoney.bp.api.convert
* .CurrencyConversion}.
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link javax.money.convert.CurrencyConversion}.
* <p>
* Instances of this class are not thread-safe and not serializable.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/javax/money/CurrencyContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final class CurrencyContext extends AbstractContext implements Serializab

/**
* Allows to convert a instance into the corresponding {@link CurrencyContextBuilder}, which allows
* to change the values and of another {@link CurrencyContext} instance.
* to change the values and of another instance.
*
* @return a new Builder instance, preinitialized with the values from this instance.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/javax/money/CurrencyContextBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public CurrencyContext build() {
*
* @param provider the provider name, creating the corresponding {@link CurrencyUnit} containing
* the final {@link CurrencyContext} created by this builder, not null.
* @return a new {@link CurrencyContextBuilder} instance, never null.
* @return a new instance, never null.
*/
public static CurrencyContextBuilder of(String provider) {
return new CurrencyContextBuilder(provider);
Expand All @@ -68,7 +68,7 @@ public static CurrencyContextBuilder of(String provider) {
* Creates a new builder.
*
* @param context the {@link CurrencyContext} to be used for initializing this builder.
* @return a new {@link CurrencyContextBuilder} instance, never null.
* @return a new instance, never null.
*/
public static CurrencyContextBuilder of(CurrencyContext context) {
return new CurrencyContextBuilder(context);
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/javax/money/CurrencyQueryBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private CurrencyQueryBuilder() {
}

/**
* Creates a new instance of {@link CurrencyQueryBuilder}.
* Creates a new instance of .
*
* @param currencyQuery {@link CurrencyQuery} used for initializing this builder.
*/
Expand Down Expand Up @@ -86,19 +86,19 @@ public CurrencyQuery build() {
}

/**
* Creates a new instance of {@link CurrencyQueryBuilder}.
* Creates a new instance of .
*
* @return a new {@link CurrencyQueryBuilder} instance, never null.
* @return a new instance, never null.
*/
public static CurrencyQueryBuilder of() {
return new CurrencyQueryBuilder();
}

/**
* Creates a new instance of {@link CurrencyQueryBuilder}.
* Creates a new instance of .
*
* @param currencyQuery {@link CurrencyQuery} used for initializing this builder.
* @return a new {@link CurrencyQueryBuilder} instance, never null.
* @return a new instance, never null.
*/
public static CurrencyQueryBuilder of(CurrencyQuery currencyQuery) {
return new CurrencyQueryBuilder(currencyQuery);
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/javax/money/CurrencyUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* <p>
* Currencies can be distinguished by separate {@link #getCurrencyCode()} codes,
* similar to {@link java.util.Currency}.
* <h4>Implementation specification</h4>
*
* <b>Implementation specification</b>
*
* Implementation of this class
* <ul>
* <li>are required to implement {@code equals/hashCode} considering the
Expand All @@ -45,7 +47,7 @@ public interface CurrencyUnit extends Comparable<CurrencyUnit>{
* currency.
* <p>
* Since each currency is identified by this code, the currency code is
* required to be defined for every {@link CurrencyUnit} and not
* required to be defined for every and not
* {@code null} or empty.
* <p>
* For ISO codes the 3-letter ISO code should be returned. For non ISO
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/javax/money/Monetary.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public static boolean isAvailable(MonetaryAmountFactoryQuery query) {
/**
* Creates a rounding that can be added as {@link MonetaryOperator} to
* chained calculations. The instance will lookup the concrete
* {@link MonetaryOperator} instance from {@link Monetary}
* {@link MonetaryOperator} instance from
* based on the input {@link MonetaryAmount}'s {@link CurrencyUnit}.
*
* @return the (shared) default rounding instance.
Expand Down
Loading

0 comments on commit a6951f4

Please sign in to comment.