Merge pull request #21117 from smowton/smowton/admin/revert-java-paths-directives

Java: revert filtering of ancillary data extraction
This commit is contained in:
Chris Smowton
2026-01-07 16:13:21 +00:00
committed by GitHub
11 changed files with 0 additions and 29 deletions

View File

@@ -1,4 +0,0 @@
paths:
- include
paths-ignore:
- include/exclude

View File

@@ -1 +0,0 @@
public class ShouldAppear2 { }

View File

@@ -1 +0,0 @@
public class ShouldNotAppear3 { }

View File

@@ -1 +0,0 @@
public class ShouldNotAppear1 { }

View File

@@ -1,4 +0,0 @@
javaFiles
| include/ShouldAppear2.java:0:0:0:0 | ShouldAppear2 |
#select
| include/ShouldAppear2.xml:0:0:0:0 | include/ShouldAppear2.xml |

View File

@@ -1,5 +0,0 @@
import os
import os.path
def test(codeql, java):
codeql.database.create(build_mode = "none", codescanning_config = "codescanning-config.yml")

View File

@@ -1,6 +0,0 @@
import java
query predicate javaFiles(File f) { f.isJavaSourceFile() }
from XmlFile f
select f

View File

@@ -1,4 +0,0 @@
---
category: minorAnalysis
---
* When a code-scanning configuration specifies the `paths:` and/or `paths-ignore:` settings, these are now taken into account by the Java extractor's search for XML and properties files.