From 272d64b0b2f44218c8732a3f9f2eef2e2674fcfe Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Tue, 20 Mar 2018 07:31:11 +0530 Subject: [PATCH] Fix PaginationRequest.getProperty() method doesn't return anything --- .../org/wso2/carbon/device/mgt/common/PaginationRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java index 0aa18b3aaa..dfda4b74a9 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java @@ -141,8 +141,8 @@ public class PaginationRequest { this.property.putAll(parameters); } - public void getProperty(String key) { - this.property.get(key); + public Object getProperty(String key) { + return this.property.get(key); } public Map getProperties() {