Skip to content

Commit ac07544

Browse files
Jami CogswellJami Cogswell
authored andcommitted
group negated expressions together
1 parent efac4b1 commit ac07544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ private import semmle.code.xml.AndroidManifest
55
/** An implicitly exported Android component */
66
class ImplicitlyExportedAndroidComponent extends AndroidComponentXmlElement {
77
ImplicitlyExportedAndroidComponent() {
8-
not this.hasExportedAttribute() and
98
this.hasAnIntentFilterElement() and
9+
not this.hasExportedAttribute() and
1010
not this.getAnIntentFilterElement().getACategoryElement().getCategoryName() =
1111
"android.intent.category.LAUNCHER" and
1212
not this.getAnIntentFilterElement().getAnActionElement().getActionName() =

0 commit comments

Comments
 (0)