File tree Expand file tree Collapse file tree
semmle/code/java/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,9 +97,7 @@ private class FlagType extends Type {
9797 FlagType ( ) {
9898 this instanceof TypeString
9999 or
100- exists ( BoxedType boxedBoolean | boxedBoolean .getPrimitiveType ( ) .hasName ( "boolean" ) |
101- this = boxedBoolean or this = boxedBoolean .getPrimitiveType ( )
102- )
100+ this instanceof BooleanType
103101 }
104102}
105103
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class SSLContext extends RefType {
2929 SSLContext ( ) { hasQualifiedName ( "javax.net.ssl" , "SSLContext" ) }
3030}
3131
32- /** Models the `javax.net.ssl.SSLSession` class. */
32+ /** The `javax.net.ssl.SSLSession` class. */
3333class SSLSession extends RefType {
3434 SSLSession ( ) { hasQualifiedName ( "javax.net.ssl" , "SSLSession" ) }
3535}
@@ -38,7 +38,7 @@ class HostnameVerifier extends RefType {
3838 HostnameVerifier ( ) { hasQualifiedName ( "javax.net.ssl" , "HostnameVerifier" ) }
3939}
4040
41- /** Models the `verify` method of the class `javax.net.ssl.HostnameVerifier`. */
41+ /** The `verify` method of the class `javax.net.ssl.HostnameVerifier`. */
4242class HostnameVerifierVerify extends Method {
4343 HostnameVerifierVerify ( ) {
4444 hasName ( "verify" ) and
@@ -83,7 +83,7 @@ class SetHostnameVerifierMethod extends Method {
8383 }
8484}
8585
86- /** Models the `setDefaultHostnameVerifier` method of the class `javax.net.ssl.HttpsURLConnection`. */
86+ /** The `setDefaultHostnameVerifier` method of the class `javax.net.ssl.HttpsURLConnection`. */
8787class SetDefaultHostnameVerifierMethod extends Method {
8888 SetDefaultHostnameVerifierMethod ( ) {
8989 hasName ( "setDefaultHostnameVerifier" ) and
You can’t perform that action at this time.
0 commit comments