Allon Mureinik has uploaded a new change for review.

Change subject: tools: StandaloneDataSource: add @Override
......................................................................

tools: StandaloneDataSource: add @Override

Added missing @Override annotations to StandaloneDataSource's methods.

Change-Id: I5b404d92e6231467ce5b6a26f8cc30c7a548d765
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/tools/common/db/StandaloneDataSource.java
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/35/12335/1

diff --git 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/tools/common/db/StandaloneDataSource.java
 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/tools/common/db/StandaloneDataSource.java
index 29193b6..0558842 100644
--- 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/tools/common/db/StandaloneDataSource.java
+++ 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/tools/common/db/StandaloneDataSource.java
@@ -105,6 +105,7 @@
         // Register a shutdown hook to close the connection when finishing:
         Runtime.getRuntime().addShutdownHook(
            new Thread() {
+               @Override
                public void run() {
                    closeConnection();
                }
@@ -122,6 +123,7 @@
             Thread.currentThread().getContextClassLoader(),
             new Class<?>[] { Connection.class },
             new InvocationHandler() {
+                @Override
                 public Object invoke (Object proxy, Method method, Object[] 
args) throws Throwable {
                     if (method.getName().equals("close")) {
                         return null;
@@ -151,6 +153,7 @@
         }
     }
 
+    @Override
     public Connection getConnection () throws SQLException {
         try {
             checkConnection();
@@ -163,34 +166,42 @@
         return wrapper;
     }
 
+    @Override
     public Connection getConnection (String user, String password) throws 
SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public PrintWriter getLogWriter () throws SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public void setLogWriter (PrintWriter out) throws SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public void setLoginTimeout (int seconds) throws SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public int getLoginTimeout () throws SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public <T> T unwrap (Class<T> iface) throws SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public boolean isWrapperFor (Class<?> iface) throws SQLException {
         throw new SQLFeatureNotSupportedException();
     }
 
+    @Override
     public java.util.logging.Logger getParentLogger () throws 
SQLFeatureNotSupportedException {
         throw new SQLFeatureNotSupportedException();
     }


--
To view, visit http://gerrit.ovirt.org/12335
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b404d92e6231467ce5b6a26f8cc30c7a548d765
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to