File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
java/ql/src/semmle/code/java/security Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -53,25 +53,18 @@ private class DefaultOgnlInjectionSink extends OgnlInjectionSink {
53
53
54
54
/** The class `org.apache.commons.ognl.Ognl` or `ognl.Ognl`. */
55
55
private class TypeOgnl extends Class {
56
- TypeOgnl ( ) {
57
- this .hasQualifiedName ( "org.apache.commons.ognl" , "Ognl" ) or
58
- this .hasQualifiedName ( "ognl" , "Ognl" )
59
- }
56
+ TypeOgnl ( ) { this .hasQualifiedName ( [ "org.apache.commons.ognl" , "ognl" ] , "Ognl" ) }
60
57
}
61
58
62
59
/** The interface `org.apache.commons.ognl.Node` or `ognl.Node`. */
63
60
private class TypeNode extends Interface {
64
- TypeNode ( ) {
65
- this .hasQualifiedName ( "org.apache.commons.ognl" , "Node" ) or
66
- this .hasQualifiedName ( "ognl" , "Node" )
67
- }
61
+ TypeNode ( ) { this .hasQualifiedName ( [ "org.apache.commons.ognl" , "ognl" ] , "Node" ) }
68
62
}
69
63
70
64
/** The interface `org.apache.commons.ognl.enhance.ExpressionAccessor` or `ognl.enhance.ExpressionAccessor`. */
71
65
private class TypeExpressionAccessor extends Interface {
72
66
TypeExpressionAccessor ( ) {
73
- this .hasQualifiedName ( "org.apache.commons.ognl.enhance" , "ExpressionAccessor" ) or
74
- this .hasQualifiedName ( "ognl.enhance" , "ExpressionAccessor" )
67
+ this .hasQualifiedName ( [ "org.apache.commons.ognl.enhance" , "ognl.enhance" ] , "ExpressionAccessor" )
75
68
}
76
69
}
77
70
You can’t perform that action at this time.
0 commit comments