diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-20 08:18:37 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-20 10:06:43 +0300 |
commit | d1520204ea3e55acdab5a0d6fb03154ffe50d538 (patch) | |
tree | 218b80c94e0d3e7b1d0a969cc7d56c890f6ab604 /compatibility-server/src/test | |
parent | 89693cf4484a44d9bcd960a0fd87c581fb66a269 (diff) | |
download | vaadin-framework-d1520204ea3e55acdab5a0d6fb03154ffe50d538.tar.gz vaadin-framework-d1520204ea3e55acdab5a0d6fb03154ffe50d538.zip |
Use simple class names
Diffstat (limited to 'compatibility-server/src/test')
-rw-r--r-- | compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/connection/MockInitialContextFactory.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/connection/MockInitialContextFactory.java b/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/connection/MockInitialContextFactory.java index fce8b4d4ec..89befd0bd8 100644 --- a/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/connection/MockInitialContextFactory.java +++ b/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/connection/MockInitialContextFactory.java @@ -1,5 +1,7 @@ package com.vaadin.v7.data.util.sqlcontainer.connection; +import java.util.Hashtable; + import javax.naming.Context; import javax.naming.NamingException; import javax.naming.spi.InitialContextFactory; @@ -15,7 +17,7 @@ public class MockInitialContextFactory implements InitialContextFactory { } @Override - public Context getInitialContext(java.util.Hashtable<?, ?> environment) + public Context getInitialContext(Hashtable<?, ?> environment) throws NamingException { if (mockCtx == null) { throw new IllegalStateException("mock context was not set."); |