aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent6b0334411d6d965d1292a352fd8c1f3b58bfe76e (diff)
downloadtraccar-server-32d72e4dfbafbec1e16b8925956d5543744fcb21.tar.gz
traccar-server-32d72e4dfbafbec1e16b8925956d5543744fcb21.tar.bz2
traccar-server-32d72e4dfbafbec1e16b8925956d5543744fcb21.zip
Fix compilation problem (fix #469)
Diffstat (limited to 'src')
-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();
}
}