-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
273 changed files
with
1,738 additions
and
1,710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...irements/annotation/CheckReturnValue.java → ...ements10/annotation/CheckReturnValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
module com.github.cowwoc.requirements.benchmark.assertj | ||
/* | ||
* Copyright 2019 Gili Tzabari. | ||
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 | ||
*/ | ||
/** | ||
* Benchmark of equivalent assertj functionality. | ||
*/ | ||
@SuppressWarnings("JavaModuleNaming") | ||
module com.github.cowwoc.requirements10.benchmark.assertj | ||
{ | ||
requires jmh.core; | ||
requires org.testng; | ||
requires org.assertj.core; | ||
|
||
exports com.github.cowwoc.requirements.benchmark.assertj to org.testng; | ||
exports com.github.cowwoc.requirements.benchmark.assertj.jmh_generated to jmh.core; | ||
exports com.github.cowwoc.requirements10.benchmark.assertj to org.testng; | ||
exports com.github.cowwoc.requirements10.benchmark.assertj.jmh_generated to jmh.core; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
module com.github.cowwoc.requirements.benchmark.guava | ||
/* | ||
* Copyright 2019 Gili Tzabari. | ||
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 | ||
*/ | ||
/** | ||
* Benchmark of the guava module. | ||
*/ | ||
@SuppressWarnings("JavaModuleNaming") | ||
module com.github.cowwoc.requirements10.benchmark.guava | ||
{ | ||
requires jmh.core; | ||
requires com.google.common; | ||
requires org.testng; | ||
requires com.github.cowwoc.requirements.guava; | ||
requires com.github.cowwoc.requirements10.guava; | ||
requires static com.google.errorprone.annotations; | ||
|
||
exports com.github.cowwoc.requirements.benchmark.guava to org.testng; | ||
exports com.github.cowwoc.requirements.benchmark.guava.jmh_generated to jmh.core; | ||
exports com.github.cowwoc.requirements10.benchmark.guava to org.testng; | ||
exports com.github.cowwoc.requirements10.benchmark.guava.jmh_generated to jmh.core; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
module com.github.cowwoc.requirements.benchmark.java | ||
/* | ||
* Copyright 2019 Gili Tzabari. | ||
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 | ||
*/ | ||
/** | ||
* Benchmark of the Java module. | ||
*/ | ||
@SuppressWarnings("JavaModuleNaming") | ||
module com.github.cowwoc.requirements10.benchmark.java | ||
{ | ||
requires jmh.core; | ||
requires org.testng; | ||
requires com.github.cowwoc.requirements.java; | ||
requires com.github.cowwoc.requirements10.java; | ||
|
||
exports com.github.cowwoc.requirements.benchmark.java to org.testng; | ||
exports com.github.cowwoc.requirements.benchmark.java.jmh_generated to jmh.core; | ||
exports com.github.cowwoc.requirements10.benchmark.java to org.testng; | ||
exports com.github.cowwoc.requirements10.benchmark.java.jmh_generated to jmh.core; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
# Must use consistent method name across all validators | ||
validator.com.github.cowwoc.requirements10.java.PrimitiveBooleanValidator=BooleanGetMethodName | ||
com.github.cowwoc.requirements10.java.validator.PrimitiveBooleanValidator=BooleanGetMethodName | ||
# WORKAROUND: https://github.com/pmd/pmd/issues/4861 | ||
validator.internal.com.github.cowwoc.requirements10.java.JavaValidatorsImpl=UnusedPrivateMethod | ||
com.github.cowwoc.requirements10.java.internal.validator.JavaValidatorsImpl=UnusedPrivateMethod | ||
# WORKAROUND: https://github.com/pmd/pmd/issues/4910 | ||
message.internal.com.github.cowwoc.requirements10.java.ComparableMessages=ConsecutiveAppendsShouldReuse | ||
com.github.cowwoc.requirements.java.internal.message.EqualMessages=ConsecutiveAppendsShouldReuse | ||
com.github.cowwoc.requirements10.java.internal.message.ComparableMessages=ConsecutiveAppendsShouldReuse | ||
# WORKAROUND: https://github.com/pmd/pmd/issues/4577 | ||
util.internal.com.github.cowwoc.requirements10.java.Exceptions=UseArraysAsList | ||
com.github.cowwoc.requirements10.java.internal.util.Exceptions=UseArraysAsList | ||
# Long URI | ||
util.internal.com.github.cowwoc.requirements10.java.ReentrantStampedLock=CommentSize | ||
com.github.cowwoc.requirements10.java.internal.util.ReentrantStampedLock=CommentSize | ||
# Necessary evil when we cannot throw an exception or log an error | ||
terminal.internal.com.github.cowwoc.requirements10.java.Terminal=SystemPrintln | ||
com.github.cowwoc.requirements10.java.internal.terminal.Terminal=SystemPrintln | ||
# WORKAROUND: https://github.com/pmd/pmd/issues/5043 | ||
validator.internal.com.github.cowwoc.requirements10.java.Doubles=LambdaCanBeMethodReference | ||
com.github.cowwoc.requirements10.java.internal.validator.Doubles=LambdaCanBeMethodReference | ||
# WORKAROUND: https://github.com/pmd/pmd/issues/5043 | ||
validator.internal.com.github.cowwoc.requirements10.java.Floats=LambdaCanBeMethodReference | ||
com.github.cowwoc.requirements10.java.internal.validator.Floats=LambdaCanBeMethodReference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...c/requirements/guava/GuavaAssumeThat.java → ...requirements10/guava/GuavaAssumeThat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.