Issue #100 Respond to code review feedback.
This commit is contained in:
parent
8038e69fc0
commit
2362d6ac17
|
|
@ -10,7 +10,7 @@ import java.nio.charset.Charset;
|
|||
* @author Marvin S. Addison
|
||||
* @since 3.3.4
|
||||
*/
|
||||
public class IOUtils {
|
||||
public final class IOUtils {
|
||||
|
||||
/** UTF-8 character set. */
|
||||
public static final Charset UTF8 = Charset.forName("UTF-8");
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@ import javax.xml.xpath.*;
|
|||
public class ThreadLocalXPathExpression extends ThreadLocal<XPathExpression> implements XPathExpression {
|
||||
|
||||
/** XPath expression */
|
||||
private String expression;
|
||||
private final String expression;
|
||||
|
||||
/** Namespace context. */
|
||||
private NamespaceContext context;
|
||||
private final NamespaceContext context;
|
||||
|
||||
/**
|
||||
* Creates a new instance from an XPath expression and namespace context.
|
||||
|
|
|
|||
|
|
@ -197,7 +197,6 @@ public final class Saml11TicketValidator extends AbstractUrlBasedTicketValidator
|
|||
conn = this.getURLConnectionFactory().buildHttpURLConnection(validationUrl.openConnection());
|
||||
conn.setRequestMethod("POST");
|
||||
conn.setRequestProperty("Content-Type", "text/xml");
|
||||
conn.setRequestProperty("Content-Type", "text/xml");
|
||||
conn.setRequestProperty("Content-Length", Integer.toString(request.length()));
|
||||
conn.setRequestProperty("SOAPAction", "http://www.oasis-open.org/committees/security");
|
||||
conn.setUseCaches(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue