Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2012-07-20 09:23:39 -0400
committerSimone Bordet2012-07-20 09:23:39 -0400
commit851239ee56da122b2421dec46fe8a34d7a225797 (patch)
treec67dc77908246a8282f2a63c8e9aa1e9f21d9487 /jetty-security/src
parent6aba6d1e8cc6cad4d989ce85f15d702322cf0fe8 (diff)
downloadorg.eclipse.jetty.project-851239ee56da122b2421dec46fe8a34d7a225797.tar.gz
org.eclipse.jetty.project-851239ee56da122b2421dec46fe8a34d7a225797.tar.xz
org.eclipse.jetty.project-851239ee56da122b2421dec46fe8a34d7a225797.zip
Jetty9 - More refactorings and renamings.
Diffstat (limited to 'jetty-security/src')
-rw-r--r--jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java b/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java
index 6af7b2addf..328b3b6237 100644
--- a/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java
+++ b/jetty-security/src/test/java/org/eclipse/jetty/security/DataConstraintsTest.java
@@ -13,12 +13,8 @@
package org.eclipse.jetty.security;
-import static org.junit.Assert.assertThat;
-import static org.junit.matchers.JUnitMatchers.containsString;
-
import java.io.IOException;
import java.util.Arrays;
-
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -39,6 +35,9 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
+import static org.junit.Assert.assertThat;
+import static org.junit.matchers.JUnitMatchers.containsString;
+
/**
* @version $Revision: 1441 $ $Date: 2010-04-02 12:28:17 +0200 (Fri, 02 Apr 2010) $
*/
@@ -55,14 +54,14 @@ public class DataConstraintsTest
{
_server = new Server();
_connector = new LocalHttpConnector();
- _connector.setMaxIdleTime(300000);
+ _connector.setIdleTimeout(300000);
_connector.setIntegralPort(9998);
_connector.setIntegralScheme("FTP");
_connector.setConfidentialPort(9999);
_connector.setConfidentialScheme("SPDY");
_connectorS = new LocalHttpConnector()
{
-
+
@Override
public void customize(Request request) throws IOException
{

Back to the top