Skip to content

Commit 116aaec

Browse files
committed
format source code
1 parent 35dd107 commit 116aaec

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/sqlancer/StateToReproduce.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public class StateToReproduce {
2222
public final List<Query> statements = new ArrayList<>();
2323

2424
/**
25-
* The string printed at the bottom of the error log file, which contains
26-
* the queries that caused the test to fail and information about their results.
25+
* The string printed at the bottom of the error log file, which contains the queries that caused the test to fail
26+
* and information about their results.
2727
*/
2828
public String queryString;
2929

src/sqlancer/postgres/oracle/PostgresNoRECOracle.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public void check() throws SQLException {
8484
String firstQueryStringWithCount = String.format(queryFormatString, firstQueryString, firstCount);
8585
String secondQueryStringWithCount = String.format(queryFormatString, secondQueryString, secondCount);
8686
state.queryString = String.format("%s\n%s", firstQueryStringWithCount, secondQueryStringWithCount);
87-
String assertionMessage = String.format("the counts mismatch (%d and %d)!\n%s\n%s", firstCount, secondCount, firstQueryStringWithCount, secondQueryStringWithCount);
87+
String assertionMessage = String.format("the counts mismatch (%d and %d)!\n%s\n%s", firstCount, secondCount,
88+
firstQueryStringWithCount, secondQueryStringWithCount);
8889
throw new AssertionError(assertionMessage);
8990
}
9091
}

src/sqlancer/postgres/oracle/PostgresPivotedQuerySynthesisOracle.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import sqlancer.postgres.ast.PostgresSelect;
2828
import sqlancer.postgres.ast.PostgresSelect.PostgresFromTable;
2929
import sqlancer.postgres.gen.PostgresExpressionGenerator;
30-
import sqlancer.QueryAdapter;
3130

3231
public class PostgresPivotedQuerySynthesisOracle implements TestOracle {
3332

src/sqlancer/postgres/oracle/tlp/PostgresTLPAggregateOracle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public void check() throws SQLException {
7474
if (secondResult.contains("Inf")) {
7575
throw new IgnoreMeException(); // FIXME: average computation
7676
}
77-
String assertionMessage = String.format("the results mismatch!\n%s\n%s",
78-
firstQueryString, secondQueryString);
77+
String assertionMessage = String.format("the results mismatch!\n%s\n%s", firstQueryString,
78+
secondQueryString);
7979
throw new AssertionError(assertionMessage);
8080
}
8181

0 commit comments

Comments
 (0)