Skip to content

Instantly share code, notes, and snippets.

@romani
romani / Test.java
Last active December 3, 2025 16:54
For GitHub action
/**
* @author name
*/
public class Test {
}
@romani
romani / Test.java
Last active December 6, 2025 07:13
false positive invalid tag JavadocType #16087
package temp.temp1;
public class Temp {
/**
* Example for TYPE_ARGUMENTS: {@link java.util.List<String>}
*/
public void example() { }
}
@romani
romani / Main.java
Created January 5, 2025 02:57
OneStatementPerLine is affected by annotation #12769
public class Main {
String str = "123";
; // report a OneStatementPerLine warning here
@MyAnnotation
String str = "123";
; // no OneStatementPerLine Warning
}
@romani
romani / Config.xml
Created December 30, 2024 23:56
Issue #15944
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd"><module name="Checker">
<module name="TreeWalker">
<module name="RegexpSinglelineJava">
<!-- . matches any character, so we need to
escape it and use \. to match dots. -->
<property name="format" value="static import .*\.\*;"/>
<property name="ignoreComments" value="true"/>
@romani
romani / Test.java
Created December 30, 2024 23:32
Issue 15950 config and java file
public class Test {
public static final int BIT0 = 1;
public static final int BIT1 = 1 << 1;
public static final int BIT2 = 1 << 2;
public static final int BIT3 = 1 << 3;
public static final int BIT4 = 1 << 4;
}
@romani
romani / output-master.txt
Created December 24, 2024 14:59
result of 'mvn --debug clean site -Pno-validations' before site plugin bump
This file has been truncated, but you can view the full file.
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/maven/apache-maven-3.8.4
Java version: 11.0.14.1, vendor: Amazon.com Inc., runtime: /opt/jvm/amazon-corretto-11.0.14.10.1-linux-x64
Default locale: ru_RU, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-210-generic", arch: "amd64", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
@romani
romani / output.txt
Created December 23, 2024 13:55
result of 'mvn --debug clean site -Pno-validations' after site plugin bump
This file has been truncated, but you can view the full file.
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/maven/apache-maven-3.8.4
Java version: 11.0.14.1, vendor: Amazon.com Inc., runtime: /opt/jvm/amazon-corretto-11.0.14.10.1-linux-x64
Default locale: ru_RU, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-210-generic", arch: "amd64", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
@romani
romani / guava-project.properties
Created November 6, 2024 13:19
pr-15879-base-config
guava|git|https://github.com/google/guava|v33.3.1||
guava|git|https://github.com/google/guava|v33.3.1||
guava|git|https://github.com/google/guava|v28.2||
spotbugs|git|https://github.com/spotbugs/spotbugs|3.1.2||
pmd|git|https://github.com/pmd/pmd|pmd_releases/6.21.0|
spoon|git|https://github.com/INRIA/spoon.git|spoon-core-8.0.0|
lombok-ast|git|https://github.com/rzwitserloot/lombok.ast|v0.2|
spring-framework|git|https://github.com/spring-projects/spring-framework|v4.1.6.RELEASE||
hibernate-orm|git|https://github.com/hibernate/hibernate-orm|4.2.19.Final|
elasticsearch|git|https://github.com/elastic/elasticsearch|v1.5.2||