From 32d72e4dfbafbec1e16b8925956d5543744fcb21 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 4 Dec 2013 23:14:59 +1300 Subject: Fix compilation problem (fix #469) --- src/org/traccar/helper/DriverDelegate.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/org') 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(); } } -- cgit v1.2.3