Skip to content

Commit 622231c

Browse files
committed
Version 3.0.0 for JDK 17
1 parent 261fa4b commit 622231c

File tree

49 files changed

+51
-51
lines changed

Some content is hidden

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

49 files changed

+51
-51
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>ch.powerunit.extensions</groupId>
66
<artifactId>powerunit-extensions-exceptions</artifactId>
7-
<version>3.0.0-SNAPSHOT</version>
7+
<version>3.0.0</version>
88

99
<name>Powerunit - Java Testing framework for JDK 10 - Extension to provide unchecked exception for lambda.</name>
1010
<description>This is a test framework for the JDK 10 - Extension to provide unchecked exception for lambda.</description>
@@ -57,8 +57,8 @@
5757

5858

5959
<properties>
60-
<maven.compiler.source>10</maven.compiler.source>
61-
<maven.compiler.target>10</maven.compiler.target>
60+
<maven.compiler.source>17</maven.compiler.source>
61+
<maven.compiler.target>17</maven.compiler.target>
6262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6363
<deploy.url>https://oss.sonatype.org/content/repositories/snapshots</deploy.url>
6464
<deploy.id>oss-snapshots</deploy.id>

src/main/java/ch/powerunit/extensions/exceptions/BiConsumerWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* result and may throw exception. Unlike most other functional interfaces,
3535
* {@code BiConsumerWithException} is expected to operate via side-effects.
3636
*
37-
* <h3>General contract</h3>
37+
* <h2>General contract</h2>
3838
* <ul>
3939
* <li><b>{@link #accept(Object, Object) void accept(T t,U u) throws
4040
* E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/BiFunctionWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* produces a result. This is the two-arity specialization of
3535
* {@link FunctionWithException}.
3636
*
37-
* <h3>General contract</h3>
37+
* <h2>General contract</h2>
3838
* <ul>
3939
* <li><b>{@link #apply(Object, Object) R apply(T t, U u) throws
4040
* E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/BiPredicateWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Represents a predicate (boolean-valued function) of two arguments that may
3232
* throw exception. This is the two-arity specialization of
3333
* {@link PredicateWithException}.
34-
* <h3>General contract</h3>
34+
* <h2>General contract</h2>
3535
* <ul>
3636
* <li><b>{@link #test(Object, Object) boolean test(T t, U u) throws
3737
* E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/BinaryOperatorWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* <p>
3737
* As this interface must return the same type of the input, a lifted version
3838
* which returns {@code Optional} is not possible.
39-
* <h3>General contract</h3>
39+
* <h2>General contract</h2>
4040
* <ul>
4141
* <li><b>{@link #apply(Object, Object) T apply(T t, T u) throws
4242
* E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/BooleanSupplierWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* Represents a supplier of {@code boolean}-valued results which may throw
3131
* exception. This is the {@code boolean}-producing primitive specialization of
3232
* {@link SupplierWithException}.
33-
* <h3>General contract</h3>
33+
* <h2>General contract</h2>
3434
* <ul>
3535
* <li><b>{@link #getAsBoolean() boolean getAsBoolean() throws
3636
* E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/ConsumerWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Represents an operation that accepts a single input argument, may thrown
3333
* exception and returns no result. Unlike most other functional interfaces,
3434
* {@code ConsumerWithException} is expected to operate via side-effects.
35-
* <h3>General contract</h3>
35+
* <h2>General contract</h2>
3636
* <ul>
3737
* <li><b>{@link #accept(Object) void accept(T t) throws E}</b>&nbsp;-&nbsp;The
3838
* functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/DoubleBinaryOperatorWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* exception and producing a {@code double}-valued result. This is the primitive
3232
* type specialization of {@link BinaryOperatorWithException} for
3333
* {@code double}.
34-
* <h3>General contract</h3>
34+
* <h2>General contract</h2>
3535
* <ul>
3636
* <li><b>{@link #applyAsDouble(double, double) double applyAsDouble(double
3737
* left, double right) throws E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/DoubleConsumerWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* specialization of {@link ConsumerWithException} for {@code double}. Unlike
3636
* most other functional interfaces, {@code DoubleConsumerWithException} is
3737
* expected to operate via side-effects.
38-
* <h3>General contract</h3>
38+
* <h2>General contract</h2>
3939
* <ul>
4040
* <li><b>{@link #accept(double) void accept(double value) throws
4141
* E}</b>&nbsp;-&nbsp;The functional method.</li>

src/main/java/ch/powerunit/extensions/exceptions/DoubleFunctionWithException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Represents a function that accepts a double-valued argument, may throw
3333
* exception and produces a result. This is the {@code double}-consuming
3434
* primitive specialization for {@link FunctionWithException}.
35-
* <h3>General contract</h3>
35+
* <h2>General contract</h2>
3636
* <ul>
3737
* <li><b>{@link #apply(double) R apply(double value) throws
3838
* E}</b>&nbsp;-&nbsp;The functional method.</li>

0 commit comments

Comments
 (0)