Skip to content

Commit

Permalink
Merge pull request #110 from marschall/small-typos
Browse files Browse the repository at this point in the history
Fix small Javadoc typos
  • Loading branch information
keilw committed Feb 11, 2019
2 parents 80df533 + 9e7c805 commit 49a7ae4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/javax/money/MonetaryAmount.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ default <R> R query(MonetaryQuery<R> query){

/**
* Returns an operated object <b>of the same type</b> as this object with the operation made.
* Hereby returning an instannce <b>of the same type</b> is very important to prevent
* Hereby returning an instance <b>of the same type</b> is very important to prevent
* uncontrolled mixup of implementations. Switching between implementations is still easily
* possible, e.g. by using according {@link MonetaryAmountFactory} instances: <blockquote>
* <pre><code>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/javax/money/convert/ConversionContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ public final class ConversionContext extends AbstractContext {
public static final ConversionContext ANY_CONVERSION =
new ConversionContextBuilder().setRateType(RateType.ANY).build();
/**
* ConversionContext quering for any deferred rates.
* ConversionContext querying for any deferred rates.
*/
public static final ConversionContext DEFERRED_CONVERSION =
new ConversionContextBuilder().setRateType(RateType.DEFERRED).build();
/**
* ConversionContext quering for any historic rates.
* ConversionContext querying for any historic rates.
*/
public static final ConversionContext HISTORIC_CONVERSION =
new ConversionContextBuilder().setRateType(RateType.HISTORIC).build();
/**
* ConversionContext quering for real-time rates.
* ConversionContext querying for real-time rates.
*/
public static final ConversionContext REALTIME_CONVERSION =
new ConversionContextBuilder().setRateType(RateType.REALTIME).build();
/**
* ConversionContext quering for any other rates.
* ConversionContext querying for any other rates.
*/
public static final ConversionContext OTHER_CONVERSION =
new ConversionContextBuilder().setRateType(RateType.OTHER).build();
Expand Down

0 comments on commit 49a7ae4

Please sign in to comment.