-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ErrorProne, CheckStyle, Jacoco, fix violations
- Loading branch information
Showing
10 changed files
with
166 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED | ||
--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED | ||
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<!-- | ||
Derived Checkstyle configuration that checks the Google naming conventions from Google Java Style | ||
that can be found at https://google.github.io/styleguide/javaguide.html Formatting conventions are | ||
enforced by the spotless plugin. | ||
This configuration is based on the Google Checks that can be found at: | ||
https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml | ||
--> | ||
|
||
<module name="Checker"> | ||
<property name="charset" value="UTF-8" /> | ||
<property name="fileExtensions" value="java, properties, xml" /> | ||
|
||
<module name="SuppressWarningsFilter" /> | ||
|
||
<!-- Excludes all 'module-info.java' files --> | ||
<!-- See https://checkstyle.org/filefilters/index.html --> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="module\-info\.java$" /> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
<!-- Make the @SuppressWarnings annotations available to Checkstyle --> | ||
<module name="SuppressWarningsHolder" /> | ||
<module name="AbstractClassName"> | ||
<property name="format" value="^(Base|Abstract).+$" /> | ||
</module> | ||
<module name="MemberName"> | ||
<property name="format" | ||
value="^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" /> | ||
<message key="name.invalidPattern" | ||
value="Member ''{0}'' should be named with camelCase and without prefixes." /> | ||
</module> | ||
<module name="ParameterName"> | ||
<property name="format" | ||
value="^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" /> | ||
<message key="name.invalidPattern" | ||
value="Member ''{0}'' should be named with camelCase and without prefixes." /> | ||
</module> | ||
<module name="MethodName"> | ||
<property name="format" | ||
value="^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" /> | ||
<message key="name.invalidPattern" | ||
value="Member ''{0}'' should be named with camelCase and without prefixes." /> | ||
</module> | ||
<module name="StaticVariableName"> | ||
<property name="format" | ||
value="^(?!((m|s|my|our|the)[A-Z])[a-zA-Z0-9]*)([a-z][a-zA-Z0-9]*)$" /> | ||
<message key="name.invalidPattern" | ||
value="Member ''{0}'' should be named with camelCase and without prefixes." /> | ||
</module> | ||
<module name="NoFinalizer" /> | ||
</module> | ||
</module> |
4 changes: 2 additions & 2 deletions
4
...pencds/cqf/cql/ls/server/event/Event.java → ...ds/cqf/cql/ls/server/event/BaseEvent.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
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