You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2014/02/11 15:20:36 UTC

[09/13] git commit: removing deprecated method

removing deprecated method


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/6c2e4eba
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/6c2e4eba
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/6c2e4eba

Branch: refs/heads/master
Commit: 6c2e4eba57f759e432344e6c7282df092c89b924
Parents: 90041d4
Author: Nirmal Fernando <ni...@apache.org>
Authored: Tue Feb 11 18:24:53 2014 +0530
Committer: Nirmal Fernando <ni...@apache.org>
Committed: Tue Feb 11 18:24:53 2014 +0530

----------------------------------------------------------------------
 .../cloud/controller/jcloud/ComputeServiceBuilderUtil.java     | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6c2e4eba/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/jcloud/ComputeServiceBuilderUtil.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/jcloud/ComputeServiceBuilderUtil.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/jcloud/ComputeServiceBuilderUtil.java
index fc6ec41..ac30f01 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/jcloud/ComputeServiceBuilderUtil.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/jcloud/ComputeServiceBuilderUtil.java
@@ -107,12 +107,6 @@ public class ComputeServiceBuilderUtil {
 		return iaas.getProperty(CloudControllerConstants.AVAILABILITY_ZONE);
 	}
 	
-	public static String extractDevice(IaasProvider iaas, String defaultDevice) {
-
-		return iaas.getProperty(CloudControllerConstants.DEVICE) == null ? defaultDevice : 
-			iaas.getProperty(CloudControllerConstants.DEVICE);
-	}
-    
     /** Returns the contents of the file in a byte array
      *
      * @param file