File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
java/ql/src/semmle/code/java Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class MailSessionGetInstanceMethod extends Method {
20
20
}
21
21
22
22
/**
23
- * A subtype of the class `org.apache.commons.mail.Mail `
23
+ * A subtype of the class `org.apache.commons.mail.Email `
24
24
*/
25
25
class ApacheEmail extends Class {
26
26
ApacheEmail ( ) { this .getASupertype * ( ) .hasQualifiedName ( "org.apache.commons.mail" , "Email" ) }
Original file line number Diff line number Diff line change @@ -56,9 +56,7 @@ predicate hasSslCertificateCheck(VarAccess va) {
56
56
private string getStringValue ( Expr expr ) {
57
57
result = expr .( CompileTimeConstantExpr ) .getStringValue ( )
58
58
or
59
- result = getStringValue ( expr .( AddExpr ) .getLeftOperand ( ) )
60
- or
61
- result = getStringValue ( expr .( AddExpr ) .getRightOperand ( ) )
59
+ result = getStringValue ( expr .( AddExpr ) .getAnOperand ( ) )
62
60
}
63
61
64
62
/**
You can’t perform that action at this time.
0 commit comments