Apply suggestions from code review

Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
Tony Torralba
2021-07-26 16:57:12 +02:00
parent 6bf1e87bbe
commit d10dbbdd9d
3 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
lgtm,codescanning lgtm,codescanning
* The query "Expression language injection (Spring)" (`java/spel-expression-injection`) has been promoted from experimental to the main query pack. Its results will now appear by default. This query was originally [submitted as an experimental query by @artem-smotrakov](https://github.com/github/codeql/pull/3291) * The query "Expression language injection (Spring)" (`java/spel-expression-injection`) has been promoted from experimental to the main query pack. Its results will now appear by default. This query was originally [submitted as an experimental query by @artem-smotrakov](https://github.com/github/codeql/pull/3291).

View File

@@ -22,7 +22,7 @@ class ExpressionParser extends RefType {
} }
/** /**
* The class `org.springframework.expression.spel.support."SimpleEvaluationContext$Builder`. * The class `org.springframework.expression.spel.support.SimpleEvaluationContext$Builder`.
*/ */
class SimpleEvaluationContextBuilder extends RefType { class SimpleEvaluationContextBuilder extends RefType {
SimpleEvaluationContextBuilder() { SimpleEvaluationContextBuilder() {

View File

@@ -54,7 +54,7 @@ private class SafeEvaluationContextFlowConfig extends DataFlow2::Configuration {
} }
/** /**
* A `ContextSource` that is safe from SpEL injection * A `ContextSource` that is safe from SpEL injection.
*/ */
private class SafeContextSource extends DataFlow::ExprNode { private class SafeContextSource extends DataFlow::ExprNode {
SafeContextSource() { SafeContextSource() {