Skip to content

Commit a986fc5

Browse files
committed
1 parent 34e79f9 commit a986fc5

30 files changed

+140
-85
lines changed

pom.xml

Lines changed: 53 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@
7474
<github.maven.version>0.12</github.maven.version>
7575
<github.global.server>github</github.global.server>
7676
<maven.resources.version>3.1.0</maven.resources.version>
77-
<maven.compile.version>3.8.0</maven.compile.version>
77+
<maven.compile.version>3.8.1</maven.compile.version>
7878
<maven.site.version>3.7.1</maven.site.version>
7979
<maven.jar.version>3.1.0</maven.jar.version>
80-
<maven.javadoc.version>3.0.1</maven.javadoc.version>
80+
<maven.javadoc.version>3.1.0</maven.javadoc.version>
8181
<maven.surefire.version>2.22.1</maven.surefire.version>
8282
<maven.surefire-report.version>2.22.1</maven.surefire-report.version>
8383
<jacoco.plugin.version>0.8.3</jacoco.plugin.version>
8484
<junit.jupiter.version>5.5.0</junit.jupiter.version>
85-
86-
<!--Exclude the files Here-->
87-
<sonar.exclusions>src/main/java/javax/measure/BinaryPrefix.java,src/main/java/javax/measure/MetricPrefix.java</sonar.exclusions>
85+
86+
<!--Exclude the files Here -->
87+
<sonar.exclusions>src/main/java/javax/measure/BinaryPrefix.java,src/main/java/javax/measure/MetricPrefix.java</sonar.exclusions>
8888
</properties>
8989

9090
<!-- Developers and Contributors -->
@@ -184,6 +184,14 @@
184184
</developer>
185185
</developers>
186186
<contributors>
187+
<contributor>
188+
<name>Andi Huber</name>
189+
<organization>Individual</organization>
190+
<timezone>+1</timezone>
191+
<roles>
192+
<role>Contributor</role>
193+
</roles>
194+
</contributor>
187195
<contributor>
188196
<name>Filip Van Laenen</name>
189197
<email>fvl@computas.com</email>
@@ -201,13 +209,45 @@
201209
<role>Contributor</role>
202210
</roles>
203211
</contributor>
212+
<contributor>
213+
<name>Matthijs Thoolen</name>
214+
<organization>Utrecht Java User Group</organization>
215+
<timezone>+1</timezone>
216+
<roles>
217+
<role>Contributor</role>
218+
</roles>
219+
</contributor>
220+
<contributor>
221+
<name>Matthijs Thoolen</name>
222+
<organization>Utrecht Java User Group</organization>
223+
<timezone>+1</timezone>
224+
<roles>
225+
<role>Contributor</role>
226+
</roles>
227+
</contributor>
228+
<contributor>
229+
<name>Anakar Parida</name>
230+
<organization>Individual</organization>
231+
<timezone>+5.5</timezone>
232+
<roles>
233+
<role>Contributor</role>
234+
</roles>
235+
</contributor>
236+
<contributor>
237+
<name>Rustam Mehmandarov</name>
238+
<organization>Individual</organization>
239+
<timezone>+3</timezone>
240+
<roles>
241+
<role>Contributor</role>
242+
</roles>
243+
</contributor>
204244
<contributor>
205245
<name>Nathan Scott</name>
206246
<email>nathans@redhat.com</email>
207247
<organization>Red Hat</organization>
208248
<timezone>+10</timezone>
209249
<roles>
210-
<role>Contributor</role>
250+
<role>Contributor Emeritus</role>
211251
</roles>
212252
</contributor>
213253
<contributor>
@@ -216,7 +256,7 @@
216256
<email>christopher.senior@gmail.com</email>
217257
<organization>Snap-on Inc.</organization>
218258
<roles>
219-
<role>Java Developer</role>
259+
<role>Expert Emeritus</role>
220260
</roles>
221261
</contributor>
222262
<contributor>
@@ -227,7 +267,7 @@
227267
<organizationUrl>http://www.v2com.mobi/</organizationUrl>
228268
<timezone>-5</timezone>
229269
<roles>
230-
<role>Architect</role>
270+
<role>Expert Emeritus</role>
231271
<role>Java Developer</role>
232272
</roles>
233273
</contributor>
@@ -730,9 +770,9 @@
730770

731771
<!-- Static analysis for occurrences of bug patterns -->
732772
<plugin>
733-
<groupId>org.codehaus.mojo</groupId>
734-
<artifactId>findbugs-maven-plugin</artifactId>
735-
<version>3.0.5</version>
773+
<groupId>com.github.spotbugs</groupId>
774+
<artifactId>spotbugs-maven-plugin</artifactId>
775+
<version>3.1.12</version>
736776
</plugin>
737777
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId>
738778
<version>3.0.0</version> <configuration> <configLocation>src/main/config/checkstyle.xml</configLocation>
@@ -803,7 +843,7 @@
803843
destdir="${project.build.directory}/classes/META-INF/versions/${jdkOptionalVersion}"
804844
srcdir="${project.basedir}/src/etc/modules/core/jdk${jdkOptionalVersion}"
805845
includeAntRuntime="false">
806-
846+
807847
<!-- TODO: use release attribute instead after next plugin release.
808848
https://issues.apache.org/jira/browse/MANTRUN-214 -->
809849
<compilerarg
@@ -814,7 +854,7 @@
814854
</execution>
815855
</executions>
816856
</plugin>
817-
857+
818858
<plugin>
819859
<artifactId>maven-jar-plugin</artifactId>
820860
<configuration>

src/main/java/javax/measure/Prefix.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
* A unit prefix is a specifier or mnemonic that is prepended to units of measurement to indicate multiples or fractions of the units.
3434
*
3535
* @see <a href="http://en.wikipedia.org/wiki/Unit_prefix">Wikipedia: Unit Prefix</a>
36-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
37-
* @version 1.2, June 28, 2019
36+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
37+
* @version 1.3, July 7, 2019
3838
* @since 2.0
3939
*/
4040
public interface Prefix {
@@ -61,7 +61,7 @@ public interface Prefix {
6161
Number getValue();
6262

6363
/**
64-
* Exponent part of the associated factor in {@codebase^exponent} representation. For different factors, e.g. rational numbers like {@code 1/4}
64+
* Exponent part of the associated factor in {@code base^exponent} representation. For different factors, e.g. rational numbers like {@code 1/4}
6565
* the exponent is always {@code 1}.
6666
*
6767
* @return the exponent part of this prefix.

src/main/java/javax/measure/format/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
*/
3030
/**
3131
* [OPTIONAL] Provides Formatting and Parsing functionality for units, quantities, dimensions or their textual representation.
32-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
33-
* @version 1.0, August 11, 2016
32+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
33+
* @version 2.0, July 7, 2019
3434
* @since 1.0
3535
*/
3636
package javax.measure.format;

src/main/java/javax/measure/quantity/Acceleration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
* Rate of change of velocity with respect to time. The metric system unit for this quantity is "m/s²" (metre per square second).
3636
*
3737
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
38-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
39-
* @version 1.1
38+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
39+
* @version 1.2
4040
* @since 1.0
4141
* @see <a href="https://en.wikipedia.org/wiki/Acceleration">Wikipedia: Acceleration</a>
4242
*

src/main/java/javax/measure/quantity/AmountOfSubstance.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,16 @@
4747
* Inverting this relation gives an exact expression for the mole in terms of the defining constant NA:
4848
*
4949
* 1 mol = 6.02214076 × 10²³ / Nₐ
50-
*
50+
* <br><br>
51+
* <b>apiNote:</b> SI Base Unit
52+
*
5153
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
52-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
53-
* @version 1.3
54+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
55+
* @author <a href="mailto:thodoris.bais@gmail.com">Thodoris Bais</a>
56+
* @version 2.0
5457
* @since 1.0
5558
*
5659
* @see <a href="http://en.wikipedia.org/wiki/Amount_of_substance">Wikipedia: Amount of Substance</a>
57-
*
58-
* apiNote SI Base Unit
5960
*/
6061
public interface AmountOfSubstance extends Quantity<AmountOfSubstance> {
6162
}

src/main/java/javax/measure/quantity/Angle.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333

3434
/**
3535
* Figure formed by two lines diverging from a common point. The metric system unit for this quantity is "rad" (radian).
36-
*
36+
* <br><br>
37+
* <b>apiNote:</b> SI Derived Unit with special name and symbol
38+
*
3739
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
3840
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
39-
* @version 1.2
41+
* @version 1.3
4042
* @since 1.0
4143
*
4244
* @see <a href="http://en.wikipedia.org/wiki/Angle">Wikipedia: Angle</a>
4345
*
4446
* @see SolidAngle
4547
* @see Length
46-
*
47-
* apiNote SI Derived Unit with special name and symbol
4848
*/
4949
public interface Angle extends Quantity<Angle> {
5050
}

src/main/java/javax/measure/quantity/Area.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,17 @@
3333

3434
/**
3535
* Extent of a planar region or of the surface of a solid measured in square units. The metric system unit for this quantity is "m²" (square metre).
36-
*
36+
* <br><br>
37+
* <b>apiNote:</b> SI Derived Unit
38+
*
3739
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
38-
* @version 1.2
40+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
41+
* @version 1.3
3942
* @since 1.0
4043
*
4144
* @see Length
4245
* @see Volume
4346
* @see Pressure
44-
*
45-
* apiNote SI Derived Unit
4647
*/
4748
public interface Area extends Quantity<Area> {
4849
}

src/main/java/javax/measure/quantity/ElectricCurrent.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,17 @@
4444
* and ∆νCs:
4545
*
4646
* 1 A = (e / 1.602 176 634 × 10⁻¹⁹) s⁻¹
47-
*
47+
* <br><br>
48+
* <b>apiNote:</b> SI Base Unit
49+
*
4850
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
49-
* @version 1.1
51+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
52+
* @author <a href="mailto:thodoris.bais@gmail.com">Thodoris Bais</a>
53+
* @version 2.0
5054
* @since 1.0
51-
*
55+
* @see <a href="https://en.wikipedia.org/wiki/Electric_current">Wikipedia: Electric Current</a>
5256
* @see ElectricCharge
5357
* @see Time
54-
*
55-
* apiNote SI Base Unit
5658
*/
5759
public interface ElectricCurrent extends Quantity<ElectricCurrent> {
5860
}

src/main/java/javax/measure/quantity/Length.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,21 @@
4444
* gives an exact expression for the metre in terms of the defining constants c and ∆νCs:
4545
*
4646
* 1 m = (c / 299 792 458)s = 9 192 631 770 c / 299 792 458 ∆νCs ≈ 30.663 319 c / ∆νCs
47+
* <br><br>
48+
* <b>apiNote:</b> SI Base Unit
4749
*
4850
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
49-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
50-
* @version 1.3
51+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
52+
* @author <a href="mailto:thodoris.bais@gmail.com">Thodoris Bais</a>
53+
* @version 2.0
5154
* @since 1.0
52-
*
55+
*
56+
* @see <a href="https://en.wikipedia.org/wiki/Length">Wikipedia: Length</a>
5357
* @see Area
5458
* @see Volume
5559
* @see Angle
5660
* @see SolidAngle
5761
* @see Speed
58-
*
59-
* apiNote SI Base Unit
6062
*/
6163
public interface Length extends Quantity<Length> {
6264
}

src/main/java/javax/measure/quantity/LuminousIntensity.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,16 @@
4646
* for the candela in terms of the defining constants Kcd, h and ∆νCs:
4747
*
4848
* 1 cd = (Kcd / 683) kg m² s⁻³ sr⁻¹
49-
*
49+
* <br><br>
50+
* <b>apiNote:</b> SI Base Unit
51+
*
5052
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
51-
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
52-
* @version 1.2
53+
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
54+
* @author <a href="mailto:thodoris.bais@gmail.com">Thodoris Bais</a>
55+
* @version 2.0
5356
* @since 1.0
54-
*
55-
* apiNote SI Base Unit
57+
*
58+
* @see <a href="https://en.wikipedia.org/wiki/Luminous_intensity">Wikipedia: Luminous intensity</a>
5659
*/
5760
public interface LuminousIntensity extends Quantity<LuminousIntensity> {
5861
}

0 commit comments

Comments
 (0)