Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDORevisionProxyHibernate.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDORevisionProxyHibernate.java108
1 files changed, 54 insertions, 54 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDORevisionProxyHibernate.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDORevisionProxyHibernate.java
index ca28021bfa..342c0999ec 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDORevisionProxyHibernate.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDORevisionProxyHibernate.java
@@ -1,54 +1,54 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.server.internal.hibernate.tuplizer;
-
-import org.eclipse.emf.cdo.spi.common.revision.DelegatingCDORevision;
-import org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision;
-
-import org.hibernate.proxy.HibernateProxy;
-import org.hibernate.proxy.LazyInitializer;
-
-/**
- * @author Eike Stepper
- */
-public class CDORevisionProxyHibernate extends DelegatingCDORevision implements HibernateProxy
-{
- private static final long serialVersionUID = 1L;
-
- private CDORevisionLazyInitializer li;
-
- CDORevisionProxyHibernate(CDORevisionLazyInitializer li)
- {
- this.li = li;
- }
-
- @Override
- public InternalCDORevision copy()
- {
- return new CDORevisionProxyHibernate(li);
- }
-
- @Override
- public InternalCDORevision getDelegate()
- {
- return li.getRevision();
- }
-
- public LazyInitializer getHibernateLazyInitializer()
- {
- return li;
- }
-
- public Object writeReplace()
- {
- return this;
- }
-}
+/*
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.server.internal.hibernate.tuplizer;
+
+import org.eclipse.emf.cdo.spi.common.revision.DelegatingCDORevision;
+import org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision;
+
+import org.hibernate.proxy.HibernateProxy;
+import org.hibernate.proxy.LazyInitializer;
+
+/**
+ * @author Eike Stepper
+ */
+public class CDORevisionProxyHibernate extends DelegatingCDORevision implements HibernateProxy
+{
+ private static final long serialVersionUID = 1L;
+
+ private CDORevisionLazyInitializer li;
+
+ CDORevisionProxyHibernate(CDORevisionLazyInitializer li)
+ {
+ this.li = li;
+ }
+
+ @Override
+ public InternalCDORevision copy()
+ {
+ return new CDORevisionProxyHibernate(li);
+ }
+
+ @Override
+ public InternalCDORevision getDelegate()
+ {
+ return li.getRevision();
+ }
+
+ public LazyInitializer getHibernateLazyInitializer()
+ {
+ return li;
+ }
+
+ public Object writeReplace()
+ {
+ return this;
+ }
+}

Back to the top