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

Commit a6951f4

Browse files
committed
Fixed javadoc errors.
1 parent a95108f commit a6951f4

38 files changed

+254
-281
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Release Notes
1212

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

1617

1718
[![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)

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<groupId>javax.money</groupId>
1414
<artifactId>money-api-bp</artifactId>
1515
<packaging>jar</packaging>
16-
<version>1.0.2-SNAPSHOT</version>
17-
<name>Money and Currency API (JSR 354) - Java 6/7 Compatible Version</name>
16+
<version>1.0.3</version>
17+
<name>Money and Currency API (JSR 354) - Java 7 Compatible Version</name>
1818
<url>http://java.net/projects/javamoney</url>
1919
<inceptionYear>2012</inceptionYear>
2020
<description>JSR 354 provides an API for representing, transporting, and performing comprehensive calculations with
@@ -313,7 +313,7 @@
313313
<artifactId>maven-gpg-plugin</artifactId>
314314
<configuration>
315315
<defaultKeyring>false</defaultKeyring>
316-
<keyname>0E3BCC9A</keyname>
316+
<keyname>11A1E4D6</keyname>
317317
</configuration>
318318
<executions>
319319
<execution>

src/main/java/javax/money/AbstractContextBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* This interface defines the common generic parts of a query. Queries are used to pass complex parameters sets
1818
* to lookup monetary artifacts, e.g. {@link MonetaryAmountFactory},
1919
* {@link MonetaryRounding},
20-
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link org.javamoney.bp.api.convert
21-
* .CurrencyConversion}.
20+
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link javax.money.convert.CurrencyConversion}.
2221
* <p>
2322
* Instances of this class are not thread-safe and not serializable.
2423
*/

src/main/java/javax/money/AbstractQueryBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* This abstract class defines the common generic parts of a query. Queries are used to pass complex parameters sets
1717
* to lookup monetary artifacts, e.g. {@link MonetaryAmountFactory},
1818
* {@link MonetaryRounding},
19-
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link org.javamoney.bp.api.convert
20-
* .CurrencyConversion}.
19+
* {@link CurrencyUnit}, {@link javax.money.convert.ExchangeRateProvider} and {@link javax.money.convert.CurrencyConversion}.
2120
* <p>
2221
* Instances of this class are not thread-safe and not serializable.
2322
*/

src/main/java/javax/money/CurrencyContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public final class CurrencyContext extends AbstractContext implements Serializab
4040

4141
/**
4242
* Allows to convert a instance into the corresponding {@link CurrencyContextBuilder}, which allows
43-
* to change the values and of another {@link CurrencyContext} instance.
43+
* to change the values and of another instance.
4444
*
4545
* @return a new Builder instance, preinitialized with the values from this instance.
4646
*/

src/main/java/javax/money/CurrencyContextBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public CurrencyContext build() {
5858
*
5959
* @param provider the provider name, creating the corresponding {@link CurrencyUnit} containing
6060
* the final {@link CurrencyContext} created by this builder, not null.
61-
* @return a new {@link CurrencyContextBuilder} instance, never null.
61+
* @return a new instance, never null.
6262
*/
6363
public static CurrencyContextBuilder of(String provider) {
6464
return new CurrencyContextBuilder(provider);
@@ -68,7 +68,7 @@ public static CurrencyContextBuilder of(String provider) {
6868
* Creates a new builder.
6969
*
7070
* @param context the {@link CurrencyContext} to be used for initializing this builder.
71-
* @return a new {@link CurrencyContextBuilder} instance, never null.
71+
* @return a new instance, never null.
7272
*/
7373
public static CurrencyContextBuilder of(CurrencyContext context) {
7474
return new CurrencyContextBuilder(context);

src/main/java/javax/money/CurrencyQueryBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private CurrencyQueryBuilder() {
3333
}
3434

3535
/**
36-
* Creates a new instance of {@link CurrencyQueryBuilder}.
36+
* Creates a new instance of .
3737
*
3838
* @param currencyQuery {@link CurrencyQuery} used for initializing this builder.
3939
*/
@@ -86,19 +86,19 @@ public CurrencyQuery build() {
8686
}
8787

8888
/**
89-
* Creates a new instance of {@link CurrencyQueryBuilder}.
89+
* Creates a new instance of .
9090
*
91-
* @return a new {@link CurrencyQueryBuilder} instance, never null.
91+
* @return a new instance, never null.
9292
*/
9393
public static CurrencyQueryBuilder of() {
9494
return new CurrencyQueryBuilder();
9595
}
9696

9797
/**
98-
* Creates a new instance of {@link CurrencyQueryBuilder}.
98+
* Creates a new instance of .
9999
*
100100
* @param currencyQuery {@link CurrencyQuery} used for initializing this builder.
101-
* @return a new {@link CurrencyQueryBuilder} instance, never null.
101+
* @return a new instance, never null.
102102
*/
103103
public static CurrencyQueryBuilder of(CurrencyQuery currencyQuery) {
104104
return new CurrencyQueryBuilder(currencyQuery);

src/main/java/javax/money/CurrencyUnit.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
* <p>
2020
* Currencies can be distinguished by separate {@link #getCurrencyCode()} codes,
2121
* similar to {@link java.util.Currency}.
22-
* <h4>Implementation specification</h4>
22+
*
23+
* <b>Implementation specification</b>
24+
*
2325
* Implementation of this class
2426
* <ul>
2527
* <li>are required to implement {@code equals/hashCode} considering the
@@ -45,7 +47,7 @@ public interface CurrencyUnit extends Comparable<CurrencyUnit>{
4547
* currency.
4648
* <p>
4749
* Since each currency is identified by this code, the currency code is
48-
* required to be defined for every {@link CurrencyUnit} and not
50+
* required to be defined for every and not
4951
* {@code null} or empty.
5052
* <p>
5153
* For ISO codes the 3-letter ISO code should be returned. For non ISO

src/main/java/javax/money/Monetary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public static boolean isAvailable(MonetaryAmountFactoryQuery query) {
391391
/**
392392
* Creates a rounding that can be added as {@link MonetaryOperator} to
393393
* chained calculations. The instance will lookup the concrete
394-
* {@link MonetaryOperator} instance from {@link Monetary}
394+
* {@link MonetaryOperator} instance from
395395
* based on the input {@link MonetaryAmount}'s {@link CurrencyUnit}.
396396
*
397397
* @return the (shared) default rounding instance.

0 commit comments

Comments
 (0)