KEYCLOAK-5837 Remove duplicate check in SAML11AuthenticationQueryType

The same check is applied in line 83.
This commit is contained in:
Thomas Darimont 2017-11-11 21:02:06 +01:00
parent 0dfbe01c73
commit 8cfbb8d0b3

View file

@ -86,9 +86,6 @@ public class SAML11RequestWriter extends BaseSAML11Writer {
} else if (query instanceof SAML11AttributeQueryType) { } else if (query instanceof SAML11AttributeQueryType) {
SAML11AttributeQueryType attQuery = (SAML11AttributeQueryType) query; SAML11AttributeQueryType attQuery = (SAML11AttributeQueryType) query;
write(attQuery); write(attQuery);
} else if (query instanceof SAML11AuthenticationQueryType) {
SAML11AuthenticationQueryType attQuery = (SAML11AuthenticationQueryType) query;
write(attQuery);
} else if (query instanceof SAML11AuthorizationDecisionQueryType) { } else if (query instanceof SAML11AuthorizationDecisionQueryType) {
SAML11AuthorizationDecisionQueryType attQuery = (SAML11AuthorizationDecisionQueryType) query; SAML11AuthorizationDecisionQueryType attQuery = (SAML11AuthorizationDecisionQueryType) query;
write(attQuery); write(attQuery);