From: David ‘Bombe’ Roden Date: Wed, 5 Jun 2013 04:35:12 +0000 (+0200) Subject: Formatting. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7d208293e164d995e319266ea28fd5be63c1a737;p=sonitus.git Formatting. --- diff --git a/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java b/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java index 4c58acc..9b65670 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/TimeCounterFilter.java @@ -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); } }