mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Mark things which can be private as private
Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8250e4393c
commit
c7a049a867
@@ -8,7 +8,7 @@ private import semmle.code.java.dataflow.ExternalFlow
|
||||
/**
|
||||
* A message interpolator Type that perform Expression Language (EL) evaluations.
|
||||
*/
|
||||
class ELMessageInterpolatorType extends RefType {
|
||||
private class ELMessageInterpolatorType extends RefType {
|
||||
ELMessageInterpolatorType() {
|
||||
this.getASourceSupertype*()
|
||||
.hasQualifiedName("org.hibernate.validator.messageinterpolation",
|
||||
@@ -19,7 +19,7 @@ class ELMessageInterpolatorType extends RefType {
|
||||
/**
|
||||
* A method call that sets the application's default message interpolator.
|
||||
*/
|
||||
class SetMessageInterpolatorCall extends MethodAccess {
|
||||
private class SetMessageInterpolatorCall extends MethodAccess {
|
||||
SetMessageInterpolatorCall() {
|
||||
exists(Method m, RefType t |
|
||||
this.getMethod() = m and
|
||||
|
||||
@@ -10,7 +10,7 @@ private import semmle.code.java.dataflow.ExternalFlow
|
||||
/**
|
||||
* A method that returns the name of an archive entry.
|
||||
*/
|
||||
class ArchiveEntryNameMethod extends Method {
|
||||
private class ArchiveEntryNameMethod extends Method {
|
||||
ArchiveEntryNameMethod() {
|
||||
exists(RefType archiveEntry |
|
||||
archiveEntry.hasQualifiedName("java.util.zip", "ZipEntry") or
|
||||
|
||||
Reference in New Issue
Block a user