Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate.teneo')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate.teneo/plugin.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate.teneo/src/org/eclipse/emf/cdo/server/hibernate/internal/teneo/bundle/ExportHbmCommand.java22
2 files changed, 2 insertions, 22 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/plugin.xml b/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/plugin.xml
index ce6a0fad9d..81b3817609 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/plugin.xml
@@ -24,7 +24,7 @@
<factory
productGroup="org.eclipse.emf.cdo.server.commands"
type="exporthbm"
- class="org.eclipse.emf.cdo.server.hibernate.internal.teneo.bundle.ExportHbmCommand$Factory"/>
+ class="org.eclipse.emf.cdo.server.hibernate.internal.teneo.bundle.ExportHbmCommand"/>
</extension>
</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/src/org/eclipse/emf/cdo/server/hibernate/internal/teneo/bundle/ExportHbmCommand.java b/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/src/org/eclipse/emf/cdo/server/hibernate/internal/teneo/bundle/ExportHbmCommand.java
index 5563ceb569..856d1173d4 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/src/org/eclipse/emf/cdo/server/hibernate/internal/teneo/bundle/ExportHbmCommand.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate.teneo/src/org/eclipse/emf/cdo/server/hibernate/internal/teneo/bundle/ExportHbmCommand.java
@@ -14,7 +14,6 @@ import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
import org.eclipse.emf.cdo.spi.server.CDOCommand;
import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.net4j.util.factory.ProductCreationException;
import org.eclipse.net4j.util.io.IOUtil;
import java.io.FileOutputStream;
@@ -25,11 +24,9 @@ import java.io.OutputStream;
*/
public class ExportHbmCommand extends CDOCommand.WithRepository
{
- public static final String NAME = "exporthbm";
-
public ExportHbmCommand()
{
- super(NAME, "export generated hibernate mapping to a file", parameter("export-file"));
+ super("exporthbm", "export generated hibernate mapping to a file", parameter("export-file"));
}
@Override
@@ -53,21 +50,4 @@ public class ExportHbmCommand extends CDOCommand.WithRepository
IOUtil.close(out);
}
}
-
- /**
- * @author Eike Stepper
- */
- public static class Factory extends CDOCommand.Factory
- {
- public Factory()
- {
- super(NAME);
- }
-
- @Override
- public CDOCommand create(String description) throws ProductCreationException
- {
- return new ExportHbmCommand();
- }
- }
}

Back to the top