Skip to content

Commit c7a049a

Browse files
Mark things which can be private as private
Co-authored-by: Tony Torralba <[email protected]>
1 parent 8250e43 commit c7a049a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

java/ql/lib/semmle/code/java/security/InsecureBeanValidationQuery.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ private import semmle.code.java.dataflow.ExternalFlow
88
/**
99
* A message interpolator Type that perform Expression Language (EL) evaluations.
1010
*/
11-
class ELMessageInterpolatorType extends RefType {
11+
private class ELMessageInterpolatorType extends RefType {
1212
ELMessageInterpolatorType() {
1313
this.getASourceSupertype*()
1414
.hasQualifiedName("org.hibernate.validator.messageinterpolation",
@@ -19,7 +19,7 @@ class ELMessageInterpolatorType extends RefType {
1919
/**
2020
* A method call that sets the application's default message interpolator.
2121
*/
22-
class SetMessageInterpolatorCall extends MethodAccess {
22+
private class SetMessageInterpolatorCall extends MethodAccess {
2323
SetMessageInterpolatorCall() {
2424
exists(Method m, RefType t |
2525
this.getMethod() = m and

java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ private import semmle.code.java.dataflow.ExternalFlow
1010
/**
1111
* A method that returns the name of an archive entry.
1212
*/
13-
class ArchiveEntryNameMethod extends Method {
13+
private class ArchiveEntryNameMethod extends Method {
1414
ArchiveEntryNameMethod() {
1515
exists(RefType archiveEntry |
1616
archiveEntry.hasQualifiedName("java.util.zip", "ZipEntry") or

0 commit comments

Comments
 (0)