Skip to content

Commit 49a7ae4

Browse files
authored
Merge pull request #110 from marschall/small-typos
Fix small Javadoc typos
2 parents 80df533 + 9e7c805 commit 49a7ae4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/javax/money/MonetaryAmount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ default <R> R query(MonetaryQuery<R> query){
130130

131131
/**
132132
* Returns an operated object <b>of the same type</b> as this object with the operation made.
133-
* Hereby returning an instannce <b>of the same type</b> is very important to prevent
133+
* Hereby returning an instance <b>of the same type</b> is very important to prevent
134134
* uncontrolled mixup of implementations. Switching between implementations is still easily
135135
* possible, e.g. by using according {@link MonetaryAmountFactory} instances: <blockquote>
136136
* <pre><code>

src/main/java/javax/money/convert/ConversionContext.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,22 @@ public final class ConversionContext extends AbstractContext {
4242
public static final ConversionContext ANY_CONVERSION =
4343
new ConversionContextBuilder().setRateType(RateType.ANY).build();
4444
/**
45-
* ConversionContext quering for any deferred rates.
45+
* ConversionContext querying for any deferred rates.
4646
*/
4747
public static final ConversionContext DEFERRED_CONVERSION =
4848
new ConversionContextBuilder().setRateType(RateType.DEFERRED).build();
4949
/**
50-
* ConversionContext quering for any historic rates.
50+
* ConversionContext querying for any historic rates.
5151
*/
5252
public static final ConversionContext HISTORIC_CONVERSION =
5353
new ConversionContextBuilder().setRateType(RateType.HISTORIC).build();
5454
/**
55-
* ConversionContext quering for real-time rates.
55+
* ConversionContext querying for real-time rates.
5656
*/
5757
public static final ConversionContext REALTIME_CONVERSION =
5858
new ConversionContextBuilder().setRateType(RateType.REALTIME).build();
5959
/**
60-
* ConversionContext quering for any other rates.
60+
* ConversionContext querying for any other rates.
6161
*/
6262
public static final ConversionContext OTHER_CONVERSION =
6363
new ConversionContextBuilder().setRateType(RateType.OTHER).build();

0 commit comments

Comments
 (0)