diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/Platform.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/Platform.java index 24b7aacd6ef..e51a388f0ae 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/Platform.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/Platform.java @@ -74,8 +74,6 @@ public class Platform implements Cloneable { } - private boolean published; - public int getId() { return id; } @@ -132,14 +130,6 @@ public class Platform implements Cloneable { this.tags = tags; } - public boolean isPublished() { - return published; - } - - public void setPublished(boolean published) { - this.published = published; - } - public boolean isFileBased() { return fileBased; } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/impl/platform/GenericPlatformDAOImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/impl/platform/GenericPlatformDAOImpl.java index 8bbd416d60d..bd480421065 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/impl/platform/GenericPlatformDAOImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/dao/impl/platform/GenericPlatformDAOImpl.java @@ -62,7 +62,6 @@ public class GenericPlatformDAOImpl extends AbstractDAOImpl implements PlatformD platform.setId(rs.getInt("ID")); platform.setName(rs.getString("NAME")); platform.setIdentifier(rs.getString("IDENTIFIER")); - platform.setPublished(rs.getBoolean("PUBLISHED")); } return platform;