1.1 --- a/src/org/sonews/storage/impl/JDBCDatabaseProvider.java Wed May 04 18:34:21 2011 +0200
1.2 +++ b/src/org/sonews/storage/impl/JDBCDatabaseProvider.java Mon Jun 06 20:12:21 2011 +0200
1.3 @@ -15,7 +15,6 @@
1.4 * You should have received a copy of the GNU General Public License
1.5 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.6 */
1.7 -
1.8 package org.sonews.storage.impl;
1.9
1.10 import java.sql.SQLException;
1.11 @@ -30,21 +29,18 @@
1.12 * @author Christian Lins
1.13 * @since sonews/1.0
1.14 */
1.15 -public class JDBCDatabaseProvider implements StorageProvider
1.16 -{
1.17 +public class JDBCDatabaseProvider implements StorageProvider {
1.18
1.19 protected static final Map<Thread, JDBCDatabase> instances = new ConcurrentHashMap<Thread, JDBCDatabase>();
1.20
1.21 @Override
1.22 - public boolean isSupported(String uri)
1.23 - {
1.24 + public boolean isSupported(String uri) {
1.25 throw new UnsupportedOperationException("Not supported yet.");
1.26 }
1.27
1.28 @Override
1.29 public Storage storage(Thread thread)
1.30 - throws StorageBackendException
1.31 - {
1.32 + throws StorageBackendException {
1.33 try {
1.34 if (!instances.containsKey(Thread.currentThread())) {
1.35 JDBCDatabase db = new JDBCDatabase();