From 153690fb9fc0818e9b291a31d63805893b9dd10b Mon Sep 17 00:00:00 2001 From: Michael Borokhovich Date: Tue, 25 Jul 2017 17:14:27 -0400 Subject: [POLICY-106] Removed unused function in the Guard project Change-Id: I4d19514525142c0b688f4811b5b92d0767a7d8bd Signed-off-by: Michael Borokhovich --- .../java/org/onap/policy/guard/PIPEngineGetHistory.java | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'controlloop/common/guard/src/main/java') diff --git a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java index 87eb5170f..8f3928cdd 100644 --- a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java +++ b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java @@ -179,21 +179,6 @@ public class PIPEngineGetHistory extends StdConfigurableEngine{ - - private void addStringAttribute(StdMutablePIPResponse stdPIPResponse, Identifier category, Identifier attributeId, String value) { - if (value != null) { - AttributeValue attributeValue = null; - try { - attributeValue = DataTypes.DT_STRING.createAttributeValue(value); - } catch (Exception ex) { - //this.logger.error("Failed to convert " + value + " to an AttributeValue", ex); - } - if (attributeValue != null) { - stdPIPResponse.addAttribute(new StdMutableAttribute(category, attributeId, attributeValue, this.getIssuer(), false)); - } - } - } - private PIPResponse getAttribute(PIPRequest pipRequest, PIPFinder pipFinder) { PIPResponse pipResponse = null; -- cgit 1.2.3-korg