- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for PackageDeclaration (0.28 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java
StringBuilder header = new StringBuilder(); String packageDeclaration = null; for (String line : FileUtils.readLines(sourceFile, "UTF-8")) { if (isPackageInfo && packageDeclaration == null && line.startsWith("package")) { packageDeclaration = line; } if (foundNotice == false) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.9K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle_suppressions.xml
<!-- Intentionally doesn't have a package declaration to test logging configuration of classes that aren't in packages. --> <suppress files="test[/\\]framework[/\\]src[/\\]test[/\\]java[/\\]Dummy.java" checks="PackageDeclaration" /> <!-- Intentionally has long example curl commands to coincide with sibling Painless tests. -->
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.5K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
<module name="RedundantModifier" /> <!-- Checks that all java files have a package declaration and that it lines up with the directory structure. --> <module name="PackageDeclaration" /> <!-- Checks that a local variable or a parameter does not shadow a field that is defined in the same class. --> <!-- Disabled until existing violations are fixed --> <!--
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (0)