Fix SAT warnings (#14202)
* Fix SAT warnings - checkstyle.ModifierOrderCheck - checkstyle.OneStatementPerLineCheck - checkstyle.NeedBracesCheck - PMD.UseStandardCharsets - PMD.UseCollectionIsEmpty - PMD.UnusedLocalVariable - PMD.SimplifyBooleanReturns where reasonable, suppress where readability is better without change - PMD.SimplifyBooleanExpressions * Include StandardCharsets Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -196,7 +196,7 @@ public class EnturNoConnection {
|
||||
.collect(groupingBy(call -> call.quay.id));
|
||||
|
||||
List<DisplayData> processedData = new ArrayList<>();
|
||||
if (departures.keySet().size() > 0) {
|
||||
if (!departures.keySet().isEmpty()) {
|
||||
DisplayData processedData01 = getDisplayData(stopPlace, departures, 0);
|
||||
processedData.add(processedData01);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user