Remove unused class.
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 16 Feb 2020 08:17:16 +0000 (09:17 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 16 Feb 2020 08:17:16 +0000 (09:17 +0100)
org.argeo.slc.api/src/org/argeo/slc/deploy/AbstractDeployedSystem.java [deleted file]
org.argeo.slc.support/src/org/argeo/slc/support/deploy/db/SimpleJdbcDatabase.java

diff --git a/org.argeo.slc.api/src/org/argeo/slc/deploy/AbstractDeployedSystem.java b/org.argeo.slc.api/src/org/argeo/slc/deploy/AbstractDeployedSystem.java
deleted file mode 100644 (file)
index 4bb603b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2007-2012 Argeo GmbH
- *
- * 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.deploy;
-
-import org.argeo.slc.UnsupportedException;
-import org.argeo.slc.build.Distribution;
-
-public abstract class AbstractDeployedSystem implements DeployedSystem {
-       public String getDeployedSystemId() {
-               // TODO Auto-generated method stub
-               return null;
-       }
-
-       public DeploymentData getDeploymentData() {
-               throw new UnsupportedException("Method not supported");
-       }
-
-       public Distribution getDistribution() {
-               throw new UnsupportedException("Method not supported");
-       }
-
-       public TargetData getTargetData() {
-               throw new UnsupportedException("Method not supported");
-       }
-
-}
index e04a3e53b73badb56a3ac5e276ea8095a760fc26..5ff7ab8ffa06a5efb644597844126f9ddc5584b9 100644 (file)
@@ -17,10 +17,12 @@ package org.argeo.slc.support.deploy.db;
 
 import javax.sql.DataSource;
 
-import org.argeo.slc.deploy.AbstractDeployedSystem;
+import org.argeo.slc.build.Distribution;
+import org.argeo.slc.deploy.DeployedSystem;
+import org.argeo.slc.deploy.DeploymentData;
+import org.argeo.slc.deploy.TargetData;
 
-public class SimpleJdbcDatabase extends AbstractDeployedSystem implements
-               JdbcAware {
+public class SimpleJdbcDatabase implements DeployedSystem, JdbcAware {
        private DataSource dataSource;
 
        public String getDeployedSystemId() {
@@ -34,4 +36,19 @@ public class SimpleJdbcDatabase extends AbstractDeployedSystem implements
        public void setDataSource(DataSource dataSource) {
                this.dataSource = dataSource;
        }
+
+       @Override
+       public Distribution getDistribution() {
+               throw new UnsupportedOperationException();
+       }
+
+       @Override
+       public DeploymentData getDeploymentData() {
+               throw new UnsupportedOperationException();
+       }
+
+       @Override
+       public TargetData getTargetData() {
+               throw new UnsupportedOperationException();
+       }
 }