fixed some compile warnings

This commit is contained in:
Vlasta Ramik 2016-01-08 16:28:36 +01:00
parent df590bfc3f
commit 1cde40f556
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ public abstract class SAMLServletWithLogout extends AbstractPageWithInjectedUrl
public void logout() {
driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
getUriBuilder().replaceQueryParam("GLO", null);
getUriBuilder().replaceQueryParam("GLO", new Object());
pause(300);
}
}

View file

@ -53,7 +53,7 @@ public class RoleCompositeRoles extends Form {
Map<String, List<String>> clientRoles = new HashMap<>();
for (String client : getSelectValues(clientSelect)) {
clientSelect.selectByVisibleText(client);
clientRoles.put(client, new ArrayList(getSelectValues(assignedClientRolesSelect)));
clientRoles.put(client, new ArrayList<>(getSelectValues(assignedClientRolesSelect)));
}
composites.setClient(clientRoles);
return composites;