mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Java: Autoformat qls.
This commit is contained in:
@@ -16,7 +16,9 @@ import semmle.code.java.Statement
|
||||
import semmle.code.java.JDK
|
||||
|
||||
/** A use of `+` that has type `String`. */
|
||||
class StringCat extends AddExpr { StringCat() { this.getType() instanceof TypeString } }
|
||||
class StringCat extends AddExpr {
|
||||
StringCat() { this.getType() instanceof TypeString }
|
||||
}
|
||||
|
||||
/**
|
||||
* An assignment of the form
|
||||
|
||||
@@ -39,7 +39,9 @@ predicate emptyArrayLiteral(Expr e) {
|
||||
)
|
||||
}
|
||||
|
||||
class EmptyArrayLiteral extends Expr { EmptyArrayLiteral() { emptyArrayLiteral(this) } }
|
||||
class EmptyArrayLiteral extends Expr {
|
||||
EmptyArrayLiteral() { emptyArrayLiteral(this) }
|
||||
}
|
||||
|
||||
from EmptyArrayLiteral l, MethodAccess ma, Method m, GenericInterface coll
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user