Java: Autoformat qls.

This commit is contained in:
Anders Schack-Mulligen
2019-02-12 13:45:09 +01:00
parent 63a4dd09ad
commit 25469637db
10 changed files with 36 additions and 12 deletions

View File

@@ -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

View File

@@ -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