aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-02 12:50:17 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-02 12:50:17 +1200
commitf0750a4b89088f05af6f561201b43ceeb407bd35 (patch)
tree18bb38b08a43e25a98f5178afbee5074ec3b7d3b /src/org/traccar/helper
parentd2c85b59bde4729d027ef1bb6e874d1fd1a02c68 (diff)
parent27770369091fd063503ccea4cca6a815a03ca79f (diff)
downloadtrackermap-server-f0750a4b89088f05af6f561201b43ceeb407bd35.tar.gz
trackermap-server-f0750a4b89088f05af6f561201b43ceeb407bd35.tar.bz2
trackermap-server-f0750a4b89088f05af6f561201b43ceeb407bd35.zip
Replace c3p0 with hikari
Replace c3p0 with hikari
Diffstat (limited to 'src/org/traccar/helper')
-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) {