aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 13:37:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 13:37:44 +1300
commitf49790953e6f9c3f9aa88564caf72a3bf002a801 (patch)
tree17911c5f7546379b841c00f0119b140514f5862f /src/org/traccar/helper
parent74c93c7cef8fe3ef53ba17b3c9da7b374003d042 (diff)
downloadtrackermap-server-f49790953e6f9c3f9aa88564caf72a3bf002a801.tar.gz
trackermap-server-f49790953e6f9c3f9aa88564caf72a3bf002a801.tar.bz2
trackermap-server-f49790953e6f9c3f9aa88564caf72a3bf002a801.zip
Fix some more style problems
Diffstat (limited to 'src/org/traccar/helper')
-rw-r--r--src/org/traccar/helper/ChannelBufferTools.java5
-rw-r--r--src/org/traccar/helper/PatternUtil.java5
-rw-r--r--src/org/traccar/helper/UnitsConverter.java5
3 files changed, 12 insertions, 3 deletions
diff --git a/src/org/traccar/helper/ChannelBufferTools.java b/src/org/traccar/helper/ChannelBufferTools.java
index e42956228..dd63a0c86 100644
--- a/src/org/traccar/helper/ChannelBufferTools.java
+++ b/src/org/traccar/helper/ChannelBufferTools.java
@@ -19,7 +19,10 @@ import org.jboss.netty.buffer.ChannelBuffer;
import java.util.Formatter;
-public class ChannelBufferTools {
+public final class ChannelBufferTools {
+
+ private ChannelBufferTools() {
+ }
public static Integer find(ChannelBuffer buf, int start, String subString) {
return find(buf, start, buf.readerIndex() + buf.readableBytes(), subString);
diff --git a/src/org/traccar/helper/PatternUtil.java b/src/org/traccar/helper/PatternUtil.java
index 4fa212200..184e6b31b 100644
--- a/src/org/traccar/helper/PatternUtil.java
+++ b/src/org/traccar/helper/PatternUtil.java
@@ -19,7 +19,10 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
-public class PatternUtil {
+public final class PatternUtil {
+
+ private PatternUtil() {
+ }
public static String checkPattern(String pattern, String input) {
diff --git a/src/org/traccar/helper/UnitsConverter.java b/src/org/traccar/helper/UnitsConverter.java
index e490f366c..fe42d9ee2 100644
--- a/src/org/traccar/helper/UnitsConverter.java
+++ b/src/org/traccar/helper/UnitsConverter.java
@@ -15,7 +15,10 @@
*/
package org.traccar.helper;
-public class UnitsConverter {
+public final class UnitsConverter {
+
+ private UnitsConverter() {
+ }
public static double knotsFromKph(double value) { // km/h
return value * 0.539957;