diff --git a/jbt/src/main/java/org/hibernate/tool/orm/jbt/type/TimeZoneType.java b/jbt/src/main/java/org/hibernate/tool/orm/jbt/type/TimeZoneType.java deleted file mode 100644 index 9819734b8f..0000000000 --- a/jbt/src/main/java/org/hibernate/tool/orm/jbt/type/TimeZoneType.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.hibernate.tool.orm.jbt.type; - -import java.util.TimeZone; - -import org.hibernate.type.AbstractSingleColumnStandardBasicType; -import org.hibernate.type.descriptor.java.TimeZoneJavaType; -import org.hibernate.type.descriptor.jdbc.VarcharJdbcType; - -public class TimeZoneType extends AbstractSingleColumnStandardBasicType { - - public static final TimeZoneType INSTANCE = new TimeZoneType(); - - public TimeZoneType() { - super(VarcharJdbcType.INSTANCE, TimeZoneJavaType.INSTANCE); - } - - @Override - public String getName() { - return "timezone"; - } - - @Override - protected boolean registerUnderJavaType() { - return true; - } - -} diff --git a/jbt/src/test/java/org/hibernate/tool/orm/jbt/type/TimeZoneTypeTest.java b/jbt/src/test/java/org/hibernate/tool/orm/jbt/type/TimeZoneTypeTest.java deleted file mode 100644 index 745738ce05..0000000000 --- a/jbt/src/test/java/org/hibernate/tool/orm/jbt/type/TimeZoneTypeTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.hibernate.tool.orm.jbt.type; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertTrue; - -import org.junit.jupiter.api.Test; - -public class TimeZoneTypeTest { - - @Test - public void testInstance() { - assertNotNull(TimeZoneType.INSTANCE); - } - - @Test - public void testGetName() { - assertEquals("timezone", TimeZoneType.INSTANCE.getName()); - } - - @Test - public void testRegisterUnderJavaType() { - assertTrue(TimeZoneType.INSTANCE.registerUnderJavaType()); - } - -}