/*******************************************************************************\r
* Copyright © 2017-2018 AT&T Intellectual Property.\r
- * \r
+ * Modifications Copyright (C) 2018 IBM.\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
* You may obtain a copy of the License at\r
* so it will ignore the current range min-max in the policy. Persist in the DB\r
* if available else Fail.\r
*/\r
- if (element.getOverwrite() != null && element.getOverwrite().equalsIgnoreCase("TRUE")) {\r
+ if (element.getOverwrite() != null && "TRUE".equalsIgnoreCase(element.getOverwrite())) {\r
Range range = new Range();\r
range.min = Integer.parseInt(resourceValue);\r
rangeList.add(range);\r
return resourceValues[i].trim();\r
}\r
} catch (IndexOutOfBoundsException e) {\r
+ log.error("Exception : " + e.getMessage(), e);\r
throw new VlantagApiException("No Matching Resource Value found from Recipe : \""\r
+ model.getResourceResolutionRecipe() + "\" for Vlantag Name : " + element.getVlantagName());\r
}\r