Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-05-11 18:26:10 +0000
committerMartin Taal2011-05-11 18:26:10 +0000
commit7e611da65a3a0992d64548011f1ce886de954b73 (patch)
tree77da471cfc36d0f2f696eecf81e53315f841c134 /plugins/org.eclipse.emf.cdo.server.hibernate
parente385b86be5b9ef76d71c6996a0a58e22925fe600 (diff)
downloadcdo-7e611da65a3a0992d64548011f1ce886de954b73.tar.gz
cdo-7e611da65a3a0992d64548011f1ce886de954b73.tar.xz
cdo-7e611da65a3a0992d64548011f1ce886de954b73.zip
Cosmetic change, moved static methods to the top
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateUtil.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateUtil.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateUtil.java
index 6b11f99fb8..d4cea45b53 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateUtil.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateUtil.java
@@ -79,6 +79,25 @@ public class HibernateUtil
private static final String CLASS = "class"; //$NON-NLS-1$
+ /**
+ * @return the global singleton instance
+ */
+ public static HibernateUtil getInstance()
+ {
+ return instance;
+ }
+
+ /**
+ * Sets the singleton used by the Hibernate store.
+ *
+ * @param instance
+ * the instance to set
+ */
+ public static void setInstance(HibernateUtil instance)
+ {
+ HibernateUtil.instance = instance;
+ }
+
// Local copy of the datatype factory
private DatatypeFactory dataTypeFactory;
@@ -660,23 +679,4 @@ public class HibernateUtil
return gregCalendar;
}
- /**
- * @return the global singleton instance
- */
- public static HibernateUtil getInstance()
- {
- return instance;
- }
-
- /**
- * Sets the singleton used by the Hibernate store.
- *
- * @param instance
- * the instance to set
- */
- public static void setInstance(HibernateUtil instance)
- {
- HibernateUtil.instance = instance;
- }
-
}

Back to the top