Skip to content

Commit 8d42242

Browse files
committed
UNITSOFMEASUREMENT-194: Prepare Final
Task-Url: https://java.net/jira/browse/UNITSOFMEASUREMENT-194
1 parent 34e80fd commit 8d42242

13 files changed

Lines changed: 47 additions & 34 deletions

src/main/java/javax/measure/Dimension.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
* </p>
4545
*
4646
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
47-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
48-
* @version 0.14, June 28, 2016
49-
*
47+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
48+
* @version 1.0, August 8, 2016
49+
* @since 1.0
5050
* @see <a href="http://en.wikipedia.org/wiki/Dimensional_analysis">Wikipedia: Dimensional Analysis</a>
5151
*/
5252
public interface Dimension {

src/main/java/javax/measure/IncommensurableException.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@
3838
* </p>
3939
*
4040
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
41-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
42-
* @version 0.16, $Date: 2016-02-13 $
43-
*
41+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
42+
* @version 1.0, August 8, 2016
43+
* @since 1.0
44+
*
4445
* @see <a href="http://en.wikipedia.org/wiki/Unit_commensurability#Commensurability">Wikipedia: Unit Commensurability</a>
4546
*/
4647
public class IncommensurableException extends Exception {

src/main/java/javax/measure/Quantity.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@
4646
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
4747
* @author <a href="mailto:desruisseaux@users.sourceforge.net">Martin Desruisseaux</a>
4848
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
49-
* @author <a href="mailto:otaviojava@java.net">Otavio Santana</a>
49+
* @author <a href="mailto:otaviopolianasantana@gmail.com">Otavio Santana</a>
5050
* @see <a href="http://en.wikipedia.org/wiki/Quantity">Wikipedia: Quantity</a>
5151
* @see <a href="http://martinfowler.com/eaaDev/quantity.html"> Martin Fowler - Quantity</a>
5252
* @see <a href="http://en.wikipedia.org/wiki/Conversion_of_units">Wikipedia: Conversion of units</a>
53-
* @version 0.26, Date: 2015-12-23
53+
* @version 1.0, August 8, 2016
54+
* @since 1.0
5455
*/
5556
public interface Quantity<Q extends Quantity<Q>> {
5657

src/main/java/javax/measure/UnconvertibleException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
* multiplication of offset units are usually units not convertible to their {@linkplain Unit#getSystemUnit() system unit}.
3535
*
3636
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
37-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
38-
* @version 0.5, 2016-02-13
37+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
38+
* @version 1.0, Aug 8, 2016
3939
*
4040
*/
4141
public class UnconvertibleException extends MeasurementException {

src/main/java/javax/measure/Unit.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@
6666
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
6767
* @author <a href="mailto:steve@unidata.ucar.edu">Steve Emmerson</a>
6868
* @author <a href="mailto:desruisseaux@users.sourceforge.net">Martin Desruisseaux</a>
69-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
70-
* @version 0.22, June 28, 2016
71-
*
69+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
70+
* @version 1.0, August 8, 2016
71+
* @since 1.0
72+
*
7273
* @see <a href="http://en.wikipedia.org/wiki/Units_of_measurement">Wikipedia: Units of measurement</a>
7374
*/
7475
public interface Unit<Q extends Quantity<Q>> {

src/main/java/javax/measure/UnitConverter.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@
3535
* A converter of numeric values between different units.
3636
*
3737
* <p>
38-
* Instances of this class are obtained through the {@link Unit#getConverterTo(Unit)} method.
38+
* Instances of this class are usually obtained through the {@link Unit#getConverterTo(Unit)} method.
3939
* </p>
4040
*
4141
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
42-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
43-
* @version 0.8, 2015-12-30
44-
*
42+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
43+
* @version 1.0, August 8, 2016
44+
* @since 1.0
45+
*
4546
* @see <a href="http://en.wikipedia.org/wiki/Conversion_of_units"> Wikipedia: Conversion of units</a>
4647
*/
4748
public interface UnitConverter {

src/main/java/javax/measure/format/ParserException.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
* Signals that an error has been reached unexpectedly while parsing.
3636
*
3737
* @author Werner Keil
38-
* @version 0.5, $Date: 2016-02-12 $
38+
* @version 1.0, August 8, 2016
39+
* @since 1.0
3940
*/
4041
public class ParserException extends MeasurementException {
4142

src/main/java/javax/measure/format/UnitFormat.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import javax.measure.Unit;
3535

3636
/**
37-
* Formats instances of {@link Unit} to a {@link String} or an {@link Appendable} and parses a {@link CharSequence} to a {@link Unit}.
37+
* Formats instances of {@link Unit} to a {@link String} or {@link Appendable} and parses a {@link CharSequence} to a {@link Unit}.
3838
*
3939
* <h4><a name="synchronization">Synchronization</a></h4>
4040
* <p>
@@ -43,9 +43,10 @@
4343
* <p>
4444
*
4545
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
46-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
46+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
4747
*
48-
* @version 0.8, Nov 25, 2015
48+
* @version 1.0, August 8, 2016
49+
* @since 1.0
4950
*
5051
* @see Unit
5152
*/

src/main/java/javax/measure/spi/QuantityFactory.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
import javax.measure.Unit;
3434

3535
/**
36-
* Represents a factory that accepts {@linkplain Number} and {@link Unit} arguments to create a {@link Quantity} result.
36+
* Represents a factory that accepts {@linkplain Number} and {@link Unit} arguments to create {@link Quantity} results.
3737
*
3838
* @param <Q>
3939
* the type of the {@link Quantity} result
4040
*
41-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
42-
* @author <a href="mailto:otaviojava@java.net">Otavio Santana</a>
43-
* @version 0.7, $Date: 2015-09-27 $
41+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
42+
* @author <a href="mailto:otaviopolianasantana@gmail.com">Otavio Santana</a>
43+
* @version 1.0, August 8, 2016
44+
* @since 1.0
45+
*
46+
* @see Quantity
4447
*/
4548
public interface QuantityFactory<Q extends Quantity<Q>> {
4649

src/main/java/javax/measure/spi/ServiceProvider.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@
4242
/**
4343
* Service Provider for Units of Measurement services.
4444
* <p>
45-
* All the methods in this class are safe for use by multiple concurrent threads.
45+
* All the methods in this class are safe to use by multiple concurrent threads.
4646
*
47-
* @version 0.9.3, July 2, 2016
47+
* @version 1.0, August 8, 2016
4848
* @author Werner Keil
4949
* @author Martin Desruisseaux
50+
* @since 1.0
5051
*/
5152
public abstract class ServiceProvider {
5253
/**

0 commit comments

Comments
 (0)