Skip to content

Commit e683487

Browse files
committed
Update for next development version
1 parent ba99847 commit e683487

52 files changed

Lines changed: 527 additions & 195 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(the "License"); you may not use this file except in compliance with
77
the License. You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -47,6 +47,8 @@ Apache Commons Numbers
4747
[![Coverage Status](https://codecov.io/gh/apache/commons-numbers/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-numbers)
4848
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-numbers-bom?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-numbers-bom/)
4949
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=commons-numbers&metric=alert_status)](https://sonarcloud.io/dashboard?id=commons-numbers)
50+
[![CodeQL](https://github.com/apache/commons-numbers/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-numbers/actions/workflows/codeql-analysis.yml)
51+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-numbers/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-numbers)
5052

5153
The Apache Commons Numbers project provides number types and utilities.
5254

@@ -80,24 +82,24 @@ Alternatively, you can pull it from the central Maven repositories, for example:
8082
<dependency>
8183
<groupId>org.apache.commons</groupId>
8284
<artifactId>commons-numbers-core</artifactId>
83-
<version>1.2</version>
85+
<version>1.3</version>
8486
</dependency>
8587
<dependency>
8688
<groupId>org.apache.commons</groupId>
8789
<artifactId>commons-numbers-complex</artifactId>
88-
<version>1.2</version>
90+
<version>1.3</version>
8991
</dependency>
9092
<dependency>
9193
<groupId>org.apache.commons</groupId>
9294
<artifactId>commons-numbers-quaternion</artifactId>
93-
<version>1.2</version>
95+
<version>1.3</version>
9496
</dependency>
9597
```
9698

9799
Building
98100
--------
99101

100-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
102+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
101103
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
102104

103105
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
@@ -110,7 +112,9 @@ There are some guidelines which will make applying PRs easier for us:
110112
+ No tabs! Please use spaces for indentation.
111113
+ Respect the existing code style for each file.
112114
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
113-
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```.
115+
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
116+
+ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
117+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
114118

115119
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
116120
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).
@@ -131,7 +135,6 @@ Additional Resources
131135
+ [Apache Commons Homepage](https://commons.apache.org/)
132136
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/NUMBERS)
133137
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
134-
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
135138

136139
Apache Commons Components
137140
-------------------------

RELEASE-NOTES.txt

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11

2+
Apache Commons Numbers 1.3 RELEASE NOTES
3+
4+
The Apache Commons Numbers team is pleased to announce the release of Apache Commons Numbers 1.3.
5+
6+
The Apache Commons Numbers project provides number types and utilities.
7+
8+
New features, updates and bug fixes. Requires Java 8.
9+
10+
Changes in this version include:
11+
12+
New features:
13+
o "DD": Allow creation from an unsigned int or long value.
14+
o NUMBERS-208: "Selection": Add support for selection from a long array.
15+
16+
Fixed Bugs:
17+
o NUMBERS-207: Bug in "compareTo" method of classes "Fraction" and "BigFraction" (when the two
18+
values are negative). Thanks to Richard Mullender.
19+
20+
21+
22+
For complete information on Apache Commons Numbers, including instructions on how to submit bug
23+
reports, patches, or suggestions for improvement, see the Apache Commons Numbers website:
24+
25+
http://commons.apache.org/proper/commons-numbers/
26+
27+
28+
=============================================================================
29+
230
Apache Commons Numbers 1.2 RELEASE NOTES
331

432
The Apache Commons Numbers team is pleased to announce the release of Apache Commons Numbers 1.2.
@@ -212,5 +240,3 @@ For complete information on Apache Commons Numbers, including instructions on ho
212240
reports, patches, or suggestions for improvement, see the Apache Commons Numbers website:
213241

214242
http://commons.apache.org/proper/commons-numbers/
215-
216-

commons-numbers-angle/README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(the "License"); you may not use this file except in compliance with
77
the License. You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -45,9 +45,11 @@ Apache Commons Numbers Angle
4545

4646
[![Java CI](https://github.com/apache/commons-numbers/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-numbers/actions/workflows/maven.yml)
4747
[![Coverage Status](https://codecov.io/gh/apache/commons-numbers/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-numbers)
48-
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-numbers-angle?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-numbers-angle/)
49-
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-numbers-angle/1.2.svg)](https://javadoc.io/doc/org.apache.commons/commons-numbers-angle/1.2)
50-
[
48+
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-numbers-angle?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-numbers-angle)
49+
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-numbers-angle/1.3.svg)](https://javadoc.io/doc/org.apache.commons/commons-numbers-angle/1.3)
50+
[![CodeQL](https://github.com/apache/commons-numbers/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-numbers/actions/workflows/codeql-analysis.yml)
51+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-numbers/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-numbers)
52+
5153
Utilities related to the concept of angle.
5254

5355
Documentation
@@ -61,20 +63,20 @@ Getting the latest release
6163
--------------------------
6264
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-numbers/download_numbers.cgi).
6365

64-
Alternatively, you can pull it from the central Maven repositories:
66+
Alternatively, you can pull it from the central Maven repositories:
6567

6668
```xml
6769
<dependency>
6870
<groupId>org.apache.commons</groupId>
6971
<artifactId>commons-numbers-angle</artifactId>
70-
<version>1.2</version>
72+
<version>1.3</version>
7173
</dependency>
7274
```
7375

7476
Building
7577
--------
7678

77-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
79+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
7880
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
7981

8082
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
@@ -87,7 +89,9 @@ There are some guidelines which will make applying PRs easier for us:
8789
+ No tabs! Please use spaces for indentation.
8890
+ Respect the existing code style for each file.
8991
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
90-
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```.
92+
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
93+
+ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
94+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
9195

9296
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
9397
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).
@@ -108,7 +112,6 @@ Additional Resources
108112
+ [Apache Commons Homepage](https://commons.apache.org/)
109113
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/NUMBERS)
110114
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
111-
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
112115

113116
Apache Commons Components
114117
-------------------------

commons-numbers-angle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.commons</groupId>
2323
<artifactId>commons-numbers-parent</artifactId>
24-
<version>1.3-SNAPSHOT</version>
24+
<version>1.4-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>commons-numbers-angle</artifactId>

commons-numbers-angle/src/site/site.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
<item name="Overview" href="index.html"/>
2727
<item name="Latest API docs (development)"
2828
href="apidocs/index.html"/>
29+
<item name="Javadoc (1.3 release)"
30+
href="https://commons.apache.org/numbers/commons-numbers-angle/javadocs/api-1.3/index.html"/>
2931
<item name="Javadoc (1.2 release)"
3032
href="https://commons.apache.org/numbers/commons-numbers-angle/javadocs/api-1.2/index.html"/>
3133
<item name="Javadoc (1.1 release)"

commons-numbers-arrays/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(the "License"); you may not use this file except in compliance with
77
the License. You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -45,8 +45,10 @@ Apache Commons Numbers Arrays
4545

4646
[![Java CI](https://github.com/apache/commons-numbers/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-numbers/actions/workflows/maven.yml)
4747
[![Coverage Status](https://codecov.io/gh/apache/commons-numbers/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-numbers)
48-
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-numbers-arrays?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-numbers-arrays/)
49-
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-numbers-arrays/1.2.svg)](https://javadoc.io/doc/org.apache.commons/commons-numbers-arrays/1.2)
48+
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-numbers-arrays?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-numbers-arrays)
49+
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-numbers-arrays/1.3.svg)](https://javadoc.io/doc/org.apache.commons/commons-numbers-arrays/1.3)
50+
[![CodeQL](https://github.com/apache/commons-numbers/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-numbers/actions/workflows/codeql-analysis.yml)
51+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-numbers/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-numbers)
5052

5153
Array utilities.
5254

@@ -61,20 +63,20 @@ Getting the latest release
6163
--------------------------
6264
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-numbers/download_numbers.cgi).
6365

64-
Alternatively, you can pull it from the central Maven repositories:
66+
Alternatively, you can pull it from the central Maven repositories:
6567

6668
```xml
6769
<dependency>
6870
<groupId>org.apache.commons</groupId>
6971
<artifactId>commons-numbers-arrays</artifactId>
70-
<version>1.2</version>
72+
<version>1.3</version>
7173
</dependency>
7274
```
7375

7476
Building
7577
--------
7678

77-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
79+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
7880
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
7981

8082
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
@@ -87,7 +89,9 @@ There are some guidelines which will make applying PRs easier for us:
8789
+ No tabs! Please use spaces for indentation.
8890
+ Respect the existing code style for each file.
8991
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
90-
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```.
92+
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
93+
+ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
94+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
9195

9296
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
9397
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).
@@ -108,7 +112,6 @@ Additional Resources
108112
+ [Apache Commons Homepage](https://commons.apache.org/)
109113
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/NUMBERS)
110114
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
111-
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
112115

113116
Apache Commons Components
114117
-------------------------

commons-numbers-arrays/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.commons</groupId>
2323
<artifactId>commons-numbers-parent</artifactId>
24-
<version>1.3-SNAPSHOT</version>
24+
<version>1.4-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>commons-numbers-arrays</artifactId>

commons-numbers-arrays/src/site/site.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
<item name="Overview" href="index.html"/>
2727
<item name="Latest API docs (development)"
2828
href="apidocs/index.html"/>
29+
<item name="Javadoc (1.3 release)"
30+
href="https://commons.apache.org/numbers/commons-numbers-arrays/javadocs/api-1.3/index.html"/>
2931
<item name="Javadoc (1.2 release)"
3032
href="https://commons.apache.org/numbers/commons-numbers-arrays/javadocs/api-1.2/index.html"/>
3133
<item name="Javadoc (1.1 release)"

commons-numbers-bom/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(the "License"); you may not use this file except in compliance with
77
the License. You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -46,7 +46,7 @@ the Bill of Materials (BOM) for dependency management:
4646
<dependency>
4747
<groupId>org.apache.commons</groupId>
4848
<artifactId>commons-numbers-bom</artifactId>
49-
<version>1.2</version>
49+
<version>1.3</version>
5050
<type>pom</type>
5151
<scope>import</scope>
5252
</dependency>
@@ -57,7 +57,7 @@ the Bill of Materials (BOM) for dependency management:
5757
Building
5858
--------
5959

60-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
60+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
6161
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
6262

6363
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
@@ -70,7 +70,9 @@ There are some guidelines which will make applying PRs easier for us:
7070
+ No tabs! Please use spaces for indentation.
7171
+ Respect the existing code style for each file.
7272
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
73-
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```.
73+
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
74+
+ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
75+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
7476

7577
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
7678
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).
@@ -91,7 +93,6 @@ Additional Resources
9193
+ [Apache Commons Homepage](https://commons.apache.org/)
9294
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/NUMBERS)
9395
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
94-
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
9596

9697
Apache Commons Components
9798
-------------------------

commons-numbers-bom/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
<parent>
2222
<groupId>org.apache.commons</groupId>
2323
<artifactId>commons-numbers-parent</artifactId>
24-
<version>1.3-SNAPSHOT</version>
24+
<version>1.4-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>commons-numbers-bom</artifactId>
28-
<version>1.3-SNAPSHOT</version>
28+
<version>1.4-SNAPSHOT</version>
2929
<name>Apache Commons Numbers (Bill of Materials)</name>
3030
<packaging>pom</packaging>
3131

0 commit comments

Comments
 (0)