From: Mathieu Baudier Date: Wed, 5 Sep 2012 08:48:31 +0000 (+0000) Subject: Remove unused class X-Git-Tag: argeo-slc-2.1.7~630 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=c1cadd631138302ddd6700aa2eb7376eb657002d;p=gpl%2Fargeo-slc.git Remove unused class git-svn-id: https://svn.argeo.org/slc/trunk@5551 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/hibernate/unit/HibernateTestCase.java b/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/hibernate/unit/HibernateTestCase.java deleted file mode 100644 index 779dc1320..000000000 --- a/runtime/org.argeo.slc.unit/src/main/java/org/argeo/slc/hibernate/unit/HibernateTestCase.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2007-2012 Mathieu Baudier - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.argeo.slc.hibernate.unit; - -import org.argeo.slc.unit.AbstractSpringTestCase; -import org.hibernate.SessionFactory; -import org.springframework.orm.hibernate3.HibernateTemplate; - -public class HibernateTestCase extends AbstractSpringTestCase { - private HibernateTemplate hibernateTemplate; - - public HibernateTemplate getHibernateTemplate() { - if (hibernateTemplate == null) { - hibernateTemplate = new HibernateTemplate( - getBean(SessionFactory.class)); - } - - return hibernateTemplate; - } - -}