JavaScript: Autoformat extractor sources using google-java-format.

No special settings; command:

  find javascript/extractor/src -name "*.java" | xargs java -jar /path/to/google-java-format-1.7-all-deps.jar --replace
This commit is contained in:
Max Schaefer
2019-02-28 14:30:06 +00:00
parent 5478e0da62
commit c4fa29dd0f
304 changed files with 30389 additions and 30395 deletions

View File

@@ -2,26 +2,22 @@ package com.semmle.js.ast;
import java.util.List;
/**
* A block statement such as <code>{ console.log("Hi"); }</code>.
*/
/** A block statement such as <code>{ console.log("Hi"); }</code>. */
public class BlockStatement extends Statement {
private final List<Statement> body;
private final List<Statement> body;
public BlockStatement(SourceLocation loc, List<Statement> body) {
super("BlockStatement", loc);
this.body = body;
}
public BlockStatement(SourceLocation loc, List<Statement> body) {
super("BlockStatement", loc);
this.body = body;
}
@Override
public <Q, A> A accept(Visitor<Q, A> v, Q q) {
return v.visit(this, q);
}
@Override
public <Q, A> A accept(Visitor<Q, A> v, Q q) {
return v.visit(this, q);
}
/**
* The statements in the block.
*/
public List<Statement> getBody() {
return body;
}
/** The statements in the block. */
public List<Statement> getBody() {
return body;
}
}