File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class MailSessionGetInstanceMethod extends Method {
2020}
2121
2222/**
23- * A subtype of the class `org.apache.commons.mail.Mail `
23+ * A subtype of the class `org.apache.commons.mail.Email `
2424 */
2525class ApacheEmail extends Class {
2626 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) {
5656private string getStringValue ( Expr expr ) {
5757 result = expr .( CompileTimeConstantExpr ) .getStringValue ( )
5858 or
59- result = getStringValue ( expr .( AddExpr ) .getLeftOperand ( ) )
60- or
61- result = getStringValue ( expr .( AddExpr ) .getRightOperand ( ) )
59+ result = getStringValue ( expr .( AddExpr ) .getAnOperand ( ) )
6260}
6361
6462/**
You can’t perform that action at this time.
0 commit comments