mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Java: Inline expectation should have space after $
This was a regex-find-replace from `// \$(?! )` (using a negative lookahead) to `// $ `.
This commit is contained in:
@@ -10,7 +10,7 @@ public class InsecureSimpleEmailTest {
|
||||
email.setHostName("config.hostName");
|
||||
email.setSmtpPort(25);
|
||||
email.setAuthenticator(new DefaultAuthenticator("config.username", "config.password"));
|
||||
email.setSSLOnConnect(true); // $hasInsecureJavaMail
|
||||
email.setSSLOnConnect(true); // $ hasInsecureJavaMail
|
||||
email.setFrom("fromAddress");
|
||||
email.setSubject("subject");
|
||||
email.setMsg("body");
|
||||
@@ -23,7 +23,7 @@ public class InsecureSimpleEmailTest {
|
||||
email.setHostName("config.hostName");
|
||||
email.setSmtpPort(25);
|
||||
email.setAuthenticator(new DefaultAuthenticator("config.username", "config.password"));
|
||||
email.setStartTLSRequired(true); // $hasInsecureJavaMail
|
||||
email.setStartTLSRequired(true); // $ hasInsecureJavaMail
|
||||
email.setFrom("fromAddress");
|
||||
email.setSubject("subject");
|
||||
email.setMsg("body");
|
||||
|
||||
Reference in New Issue
Block a user