Formatting.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 5 Jun 2013 04:35:12 +0000 (06:35 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 6 Jun 2013 20:28:12 +0000 (22:28 +0200)
src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java

index 4c58acc..9b65670 100644 (file)
@@ -124,7 +124,7 @@ public class TimeCounterFilter extends AbstractFilter implements Filter {
        private void updateTimestamp(boolean now) {
                long timestamp = getMillis() / 1000;
                if (now || (lastTimestamp.get() != timestamp)) {
-                       super.metadataUpdated(parentMetadata.get().comment(String.format("%s%02d:%02d", (timestamp >= 3600) ? String.format("%d:", timestamp / 3600) : "" , (timestamp % 3600) / 60, timestamp % 60)));
+                       super.metadataUpdated(parentMetadata.get().comment(String.format("%s%02d:%02d", (timestamp >= 3600) ? String.format("%d:", timestamp / 3600) : "", (timestamp % 3600) / 60, timestamp % 60)));
                        lastTimestamp.set(timestamp);
                }
        }