Collections.singletonList(resourceType),
actionType,
createEnvironmentType());
}
private ResourceType createResourceType(List<String> resources) {
<BUG>List<AttributeType> attributes = new ArrayList<AttributeType>();
for (String resource : resources) {</BUG>
if (resource != null) {
<BUG>attributes.add(createAttribute(XACMLConstants.RESOURCE_ID, XACMLConstants.XS_STRING, null,
resource));
}
}</BUG>
return RequestComponentBuilder.createResourceType(attributes, null);

Collections.singletonList(resourceType),
actionType,
createEnvironmentType());
