Repository: stratos
Updated Branches:
  refs/heads/master a0a437abc -> 8327716ad


changing max to partitionMax in deployment policy schema

k


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

Branch: refs/heads/master
Commit: 031d0f0f4d92d1ae42de4e18a642d3d79e847d74
Parents: a0a437a
Author: R-Rajkumar <[email protected]>
Authored: Fri Mar 6 22:56:10 2015 +0530
Committer: R-Rajkumar <[email protected]>
Committed: Fri Mar 6 22:57:26 2015 +0530

----------------------------------------------------------------------
 .../stratos/common/beans/partition/PartitionRefBean.java  | 10 +++++-----
 .../rest/endpoint/util/converter/ObjectConverter.java     |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/031d0f0f/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/beans/partition/PartitionRefBean.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/beans/partition/PartitionRefBean.java
 
b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/beans/partition/PartitionRefBean.java
index 1cc3e15..9c9fc00 100644
--- 
a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/beans/partition/PartitionRefBean.java
+++ 
b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/beans/partition/PartitionRefBean.java
@@ -26,7 +26,7 @@ public class PartitionRefBean {
 
     private String id;
 
-    private int max;
+    private int partitionMax;
 
     public String getId() {
         return id;
@@ -36,11 +36,11 @@ public class PartitionRefBean {
         this.id = id;
     }
 
-       public int getMax() {
-               return max;
+       public int getPartitionMax() {
+               return partitionMax;
        }
 
-       public void setMax(int max) {
-               this.max = max;
+       public void setPartitionMax(int partitionMax) {
+               this.partitionMax = partitionMax;
        }
 }

http://git-wip-us.apache.org/repos/asf/stratos/blob/031d0f0f/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
 
b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
index 5378b77..203b2e8 100644
--- 
a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
+++ 
b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
@@ -295,7 +295,7 @@ public class ObjectConverter {
                        
org.apache.stratos.cloud.controller.stub.domain.PartitionRef();
 
         stubPartition.setId(partition.getId());
-        stubPartition.setMax(partition.getMax());
+        stubPartition.setMax(partition.getPartitionMax());
 
         return stubPartition;
     }
@@ -745,7 +745,7 @@ public class ObjectConverter {
                for (int i = 0; i < partitionRefs.length; i++) {
                        PartitionRefBean partitionRefBean = new 
PartitionRefBean();
                        partitionRefBean.setId(partitionRefs[i].getId());
-                       partitionRefBean.setMax(partitionRefs[i].getMax());
+                       
partitionRefBean.setPartitionMax(partitionRefs[i].getMax());
                        partitionRefBeans.add(partitionRefBean);
                }
                

Reply via email to