Skip to content

Commit

Permalink
Minor style improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jan 3, 2025
1 parent fabf97e commit 43c4f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/traccar/handler/FilterHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ protected boolean filter(Position position) {
}
}

if (filterType.length() > 0) {
if (!filterType.isEmpty()) {
LOGGER.info("Position filtered by {}filters from device: {}", filterType, device.getUniqueId());
return true;
}
Expand Down

0 comments on commit 43c4f4f

Please sign in to comment.