aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-12-04 23:14:59 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-12-04 23:14:59 +1300
commit32d72e4dfbafbec1e16b8925956d5543744fcb21 (patch)
tree5dda4b35f36010ba23a1689c91d224b23459db01
parent6b0334411d6d965d1292a352fd8c1f3b58bfe76e (diff)
downloadtrackermap-server-32d72e4dfbafbec1e16b8925956d5543744fcb21.tar.gz
trackermap-server-32d72e4dfbafbec1e16b8925956d5543744fcb21.tar.bz2
trackermap-server-32d72e4dfbafbec1e16b8925956d5543744fcb21.zip
Fix compilation problem (fix #469)
-rw-r--r--src/org/traccar/helper/DriverDelegate.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/helper/DriverDelegate.java b/src/org/traccar/helper/DriverDelegate.java
index ccce28afe..250507f5d 100644
--- a/src/org/traccar/helper/DriverDelegate.java
+++ b/src/org/traccar/helper/DriverDelegate.java
@@ -28,7 +28,7 @@ import java.util.logging.Logger;
*/
public class DriverDelegate implements Driver {
- private Driver driver;
+ private final Driver driver;
public DriverDelegate(Driver driver) {
this.driver = driver;
@@ -64,9 +64,8 @@ public class DriverDelegate implements Driver {
return driver.jdbcCompliant();
}
- @Override
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
- return driver.getParentLogger();
+ throw new SQLFeatureNotSupportedException();
}
}