Skip to content

Commit bb7eea7

Browse files
committed
autoformat
1 parent ae68964 commit bb7eea7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

java/ql/src/Likely Bugs/Collections/IteratorRemoveMayFail.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ where
7272
remove.getCallee().hasName("remove") and
7373
iterOfSpecialCollection(remove.getQualifier(), scc)
7474
select remove,
75-
"This call may fail when iterating over $@, since it does not support element removal.",
76-
scc, "the collection"
75+
"This call may fail when iterating over $@, since it does not support element removal.", scc,
76+
"the collection"

java/ql/src/Likely Bugs/Nullness/NullAlways.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ private import semmle.code.java.dataflow.Nullness
1717

1818
from VarAccess access, SsaSourceVariable var
1919
where alwaysNullDeref(var, access)
20-
select access, "Variable $@ is always null at this access.", var.getVariable(), var.getVariable().getName()
20+
select access, "Variable $@ is always null at this access.", var.getVariable(),
21+
var.getVariable().getName()

java/ql/src/Violations of Best Practice/Dead Code/NonAssignedFields.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,5 @@ where
8686
) and
8787
// Exclude special VM classes.
8888
not isVMObserver(f.getDeclaringType())
89-
select f,
90-
"The field '" + f.getName() + "' is never explicitly assigned a value, yet $@.", fr,
89+
select f, "The field '" + f.getName() + "' is never explicitly assigned a value, yet $@.", fr,
9190
"the field is read"

0 commit comments

Comments
 (0)