fixed some compile warnings
This commit is contained in:
parent
df590bfc3f
commit
1cde40f556
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ public abstract class SAMLServletWithLogout extends AbstractPageWithInjectedUrl
|
||||||
|
|
||||||
public void logout() {
|
public void logout() {
|
||||||
driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
|
driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
|
||||||
getUriBuilder().replaceQueryParam("GLO", null);
|
getUriBuilder().replaceQueryParam("GLO", new Object());
|
||||||
pause(300);
|
pause(300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class RoleCompositeRoles extends Form {
|
||||||
Map<String, List<String>> clientRoles = new HashMap<>();
|
Map<String, List<String>> clientRoles = new HashMap<>();
|
||||||
for (String client : getSelectValues(clientSelect)) {
|
for (String client : getSelectValues(clientSelect)) {
|
||||||
clientSelect.selectByVisibleText(client);
|
clientSelect.selectByVisibleText(client);
|
||||||
clientRoles.put(client, new ArrayList(getSelectValues(assignedClientRolesSelect)));
|
clientRoles.put(client, new ArrayList<>(getSelectValues(assignedClientRolesSelect)));
|
||||||
}
|
}
|
||||||
composites.setClient(clientRoles);
|
composites.setClient(clientRoles);
|
||||||
return composites;
|
return composites;
|
||||||
|
|
Loading…
Reference in a new issue