aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/PatternUtil.java
diff options
context:
space:
mode:
authordrecchia <danilo@deltatecnologia.com>2016-05-31 08:54:29 -0300
committerdrecchia <danilo@deltatecnologia.com>2016-05-31 08:54:29 -0300
commit8ef478a317e9d3b58454699c053e5f9a1d53adf9 (patch)
tree1dbae6227c321048c56e203cef18104eb86634df /src/org/traccar/helper/PatternUtil.java
parente91153481a220235130a277d20f724b97fcfd325 (diff)
downloadtrackermap-server-8ef478a317e9d3b58454699c053e5f9a1d53adf9.tar.gz
trackermap-server-8ef478a317e9d3b58454699c053e5f9a1d53adf9.tar.bz2
trackermap-server-8ef478a317e9d3b58454699c053e5f9a1d53adf9.zip
- Fixed style issues.
Diffstat (limited to 'src/org/traccar/helper/PatternUtil.java')
-rw-r--r--src/org/traccar/helper/PatternUtil.java18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/org/traccar/helper/PatternUtil.java b/src/org/traccar/helper/PatternUtil.java
index 3d61cc698..88c3f053b 100644
--- a/src/org/traccar/helper/PatternUtil.java
+++ b/src/org/traccar/helper/PatternUtil.java
@@ -25,9 +25,21 @@ public final class PatternUtil {
}
public static class MatchResult {
- public String pattern;
- public String matched;
- public String remaining;
+ private String pattern;
+ private String matched;
+ private String remaining;
+
+ public String getPattern() {
+ return this.pattern;
+ }
+
+ public String getMatched() {
+ return this.matched;
+ }
+
+ public String getRemaining() {
+ return this.remaining;
+ }
}
public static MatchResult checkPattern(String pattern, String input) {