Skip to content

Commit 7956cd4

Browse files
committed
Removed unintentional indentation change.
1 parent 3661ca4 commit 7956cd4

2 files changed

Lines changed: 19 additions & 36 deletions

File tree

testresults/src/org/labkey/testresults/TestResultsController.java

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,8 @@ public static class RetrainAllForm
178178
private int _minRuns = 5;
179179
private Integer _targetRuns; // backwards compatibility
180180

181-
public String getMode()
182-
{
183-
return _mode;
184-
}
185-
public void setMode(String mode)
186-
{
187-
_mode = mode;
188-
}
181+
public String getMode() { return _mode; }
182+
public void setMode(String mode) { _mode = mode; }
189183

190184
public int getMaxRuns()
191185
{
@@ -194,33 +188,15 @@ public int getMaxRuns()
194188
return _targetRuns;
195189
return _maxRuns;
196190
}
197-
public void setMaxRuns(int maxRuns)
198-
{
199-
_maxRuns = maxRuns;
200-
}
191+
public void setMaxRuns(int maxRuns) { _maxRuns = maxRuns; }
201192

202-
public int getMinRuns()
203-
{
204-
return _minRuns;
205-
}
206-
public void setMinRuns(int minRuns)
207-
{
208-
_minRuns = minRuns;
209-
}
193+
public int getMinRuns() { return _minRuns; }
194+
public void setMinRuns(int minRuns) { _minRuns = minRuns; }
210195

211-
public Integer getTargetRuns()
212-
{
213-
return _targetRuns;
214-
}
215-
public void setTargetRuns(Integer targetRuns)
216-
{
217-
_targetRuns = targetRuns;
218-
}
196+
public Integer getTargetRuns() { return _targetRuns; }
197+
public void setTargetRuns(Integer targetRuns) { _targetRuns = targetRuns; }
219198

220-
public boolean isIncremental()
221-
{
222-
return "incremental".equalsIgnoreCase(_mode);
223-
}
199+
public boolean isIncremental() { return "incremental".equalsIgnoreCase(_mode); }
224200
}
225201

226202
public TestResultsController()

testresults/src/org/labkey/testresults/TestResultsSchema.java

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ public static SqlDialect getSqlDialect()
111111
/**
112112
* Converts DbSchema-level FKs (propagated by wrapAllColumns()) into UserSchema-level FKs
113113
* so the Query Schema Browser renders hyperlinks and can navigate to target query grids.
114-
* <p>
115114
* After wrapAllColumns(), columns whose FK targets are within this schema show up with an
116115
* "undefined" schema name because the DbSchema FK has no UserSchema context. This method
117116
* walks all columns and replaces any such FK with a proper QueryForeignKey.
@@ -140,9 +139,17 @@ private void resolveSchemaForeignKeys(FilteredTable<TestResultsSchema> table, Co
140139
@Override
141140
public @NotNull Set<String> getTableNames()
142141
{
143-
return Set.of(TABLE_TEST_RUNS, TABLE_USER, TABLE_USER_DATA, TABLE_TRAIN_RUNS,
144-
TABLE_HANGS, TABLE_MEMORY_LEAKS, TABLE_HANDLE_LEAKS,
145-
TABLE_TEST_PASSES, TABLE_TEST_FAILS, TABLE_GLOBAL_SETTINGS);
142+
return Set.of(
143+
TABLE_TEST_RUNS,
144+
TABLE_USER,
145+
TABLE_USER_DATA,
146+
TABLE_TRAIN_RUNS,
147+
TABLE_HANGS,
148+
TABLE_MEMORY_LEAKS,
149+
TABLE_HANDLE_LEAKS,
150+
TABLE_TEST_PASSES,
151+
TABLE_TEST_FAILS,
152+
TABLE_GLOBAL_SETTINGS);
146153
}
147154

148155
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)