aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/DriverDelegate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/helper/DriverDelegate.java')
-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();
}
}