Skip to content

Commit 12dc11a

Browse files
Add qldoc
1 parent 8de5efb commit 12dc11a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/lib/semmle/code/java/security/Encryption.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,15 @@ class CreateSslEngineMethod extends Method {
143143
}
144144
}
145145

146+
/** The `setConnectionFactory` method of the class `javax.net.ssl.HttpsURLConnection`. */
146147
class SetConnectionFactoryMethod extends Method {
147148
SetConnectionFactoryMethod() {
148149
this.hasName("setSSLSocketFactory") and
149150
this.getDeclaringType().getAnAncestor() instanceof HttpsUrlConnection
150151
}
151152
}
152153

154+
/** The `setDefaultConnectionFactory` method of the class `javax.net.ssl.HttpsURLConnection`. */
153155
class SetDefaultConnectionFactoryMethod extends Method {
154156
SetDefaultConnectionFactoryMethod() {
155157
this.hasName("setDefaultSSLSocketFactory") and

0 commit comments

Comments
 (0)