Skip to content

Commit aa667bd

Browse files
committed
123: Typos in the 1.0 final spec pdf
Task-Url: https://github.com/JavaMoney/jsr354-api/issues/issues/123
1 parent eb58afc commit aa667bd

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

src/license/asl_2/header.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Copyright 2012-2016 Credit Suisse
2-
Copyright 2018 Werner Keil, Otavio Santana, Trivadis AG
2+
Copyright 2018-2019 Werner Keil, Otavio Santana, Trivadis AG
33

44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

src/main/asciidoc/JavaMoneySpecification.adoc

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
JSR 354 Money and Currency -- Specification
22
===========================================
33
:title: JSR 354 (Money & Currency) - Specification
4-
:revnumber: 1.0
5-
:revremark: Final
6-
:revdate: May 2015
7-
:longversion: 1.0 (Final) May 2015
8-
:authorinitials: ATR
9-
:author: Anatole Tresch, Credit Suisse
10-
4+
:revnumber: 1.1
5+
:revremark: Snapshot
6+
:revdate: Nov 2019
7+
:longversion: 1.1 (MR 1) November 2019
8+
:authorinitials: WKE, OGS, ATR
9+
:author: Werner Keil; Otavio Santana; Anatole Tresch, Trivadis
1110
:source-highlighter: coderay
1211
:website: http://javamoney.org/
1312
:iconsdir: {imagesdir}/icons
@@ -29,14 +28,17 @@ image::https://raw.githubusercontent.com/JavaMoney/jsr354-api/master/src/main/as
2928
==== Version Information:
3029
------------------------------------------------------------------
3130
Specification: JSR-354 Money and Currency API ("Specification")
32-
Version: 1.0
33-
Status: Final
34-
Release: May 2015
35-
Copyright: 2012-2015
31+
Version: 1.1
32+
Status: Snapshot
33+
Release: November 2019
34+
Copyright: 2012-2016
3635
Credit Suisse AG
3736
P.O.Box
3837
8070 Zurich
3938
Switzerland
39+
40+
2018-2019
41+
Werner Keil, Otavio Santana, Trivadis AG
4042
All rights reserved.
4143
------------------------------------------------------------------
4244

@@ -69,16 +71,16 @@ persons have actively contributed to Java Money in alphabetical order:
6971
* Thomas Huesler
7072
* Scott James (Credit Suisse)
7173
* Tony Jewell
72-
* Werner Keil
74+
* Werner Keil (Maintenance Lead)
7375
* Bob Lee
7476
* Simon Martinelli
7577
* Sanjay Nagpal (Credit Suisse)
7678
* Christopher Pheby
7779
* Jefferson Prestes
7880
* Arumugam Swaminathan
7981
* Mohamed Taman
80-
* Anatole Tresch (Credit Suisse, Spec Lead)
81-
* Otávio Santana
82+
* Anatole Tresch (Trivadis, Maintenance Lead)
83+
* Otávio Santana (Maintenance Lead)
8284

8385
=== Specification goals
8486
Monetary values are a key feature of many applications, yet the JDK provides little or no support.
@@ -113,7 +115,7 @@ Basically this affects usage of +java.math+ and +java.text+. Nevertheless the re
113115
existing functionality and the JSR also includes requirements (also checkable by the TCK) to ensure a minimal set of
114116
functionality on Java SE 7 and SE 8.
115117
During the development of the JSR a wide set of features were implemented. Most of these features will not end up within
116-
the JSR itself, enabling feature innovation elsewhere. The corresponding libraries were avaailable under [JavaMoney]
118+
the JSR itself, enabling feature innovation elsewhere. The corresponding libraries were available under [JavaMoney]
117119
as an Apache 2 licensed open source project. Though these libraries were removed from the JSR, their development
118120
ensured that scope was fully evaluated and that the parts best suited to standardization were identified.
119121

@@ -452,7 +454,7 @@ accessor classes. Summarizing the following singletons are available as part of
452454
* +Monetary+
453455
** provides access and query functionality to +CurrencyUnit+ instances.
454456
** provides access and query functionality to factories for creating +MonetaryAmount+ instances.
455-
** provides provides access and query functionality to +MonetaryRounding+ instances.
457+
** provides access and query functionality to +MonetaryRounding+ instances.
456458
457459
Additionally the conversion and formatting module also provide singletons:
458460
@@ -1700,7 +1702,7 @@ MonetaryAmountFactory<?> f = Monetary.getDefaultAmountFactory();
17001702
MonetaryAmount amount = f.setCurrency("CHF").setNumber(12.50).create();
17011703

17021704
MonetaryAmountFormat format =
1703-
MonetaryAmountFormats.getAmountFormat(Locale.GERMANY);
1705+
MonetaryFormats.getAmountFormat(Locale.GERMANY);
17041706

17051707
// format the given amount
17061708
String formatted = format.format(amount); // result: CHF 12,50
@@ -1718,7 +1720,7 @@ for this we could configure an +AmountFormatContext+ that implements this behavi
17181720
--------------------------------------------------------------------------
17191721
AmountFormatQuery query = AmountFormatQueryBuilder.of(new Locale("","INR"))
17201722
.set("groupSizes", new int[]{3,2]).build();
1721-
MonetaryAmountFormat format = MonetaryAmountFormats.getAmountFormat(query);
1723+
MonetaryAmountFormat format = MonetaryFormats.getAmountFormat(query);
17221724

17231725
MonetaryAmount amount =
17241726
Monetary.getDefaultAmountFactory()

0 commit comments

Comments
 (0)