From d7b784b073447bd32839b9f13a7dc1839b3778ea Mon Sep 17 00:00:00 2001 From: Chatura Dilan Date: Wed, 14 Jun 2017 12:45:15 +0530 Subject: [PATCH] Removed published from platforms --- .../carbon/device/application/mgt/common/Platform.java | 10 ---------- .../core/dao/impl/platform/GenericPlatformDAOImpl.java | 1 - 2 files changed, 11 deletions(-) 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;