Merge branch 'jetty-9.1' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project into jetty-9.1
This commit is contained in:
commit
3bb17e5029
|
@ -226,7 +226,6 @@ public abstract class AbstractSession implements AbstractSessionManager.SessionI
|
||||||
@Override
|
@Override
|
||||||
public int getMaxInactiveInterval()
|
public int getMaxInactiveInterval()
|
||||||
{
|
{
|
||||||
checkValid();
|
|
||||||
return (int)(_maxIdleMs/1000);
|
return (int)(_maxIdleMs/1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -213,11 +213,12 @@ public class RequestTest
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMultiPart() throws Exception
|
public void testMultiPart() throws Exception
|
||||||
{
|
{
|
||||||
final File tmpDir = new File (System.getProperty("java.io.tmpdir"));
|
final File testTmpDir = File.createTempFile("reqtest", null);
|
||||||
final File testTmpDir = new File (tmpDir, "reqtest");
|
if (testTmpDir.exists())
|
||||||
|
testTmpDir.delete();
|
||||||
|
testTmpDir.mkdir();
|
||||||
testTmpDir.deleteOnExit();
|
testTmpDir.deleteOnExit();
|
||||||
assertTrue(testTmpDir.mkdirs());
|
|
||||||
assertTrue(testTmpDir.list().length == 0);
|
assertTrue(testTmpDir.list().length == 0);
|
||||||
|
|
||||||
ContextHandler contextHandler = new ContextHandler();
|
ContextHandler contextHandler = new ContextHandler();
|
||||||
|
|
Loading…
Reference in New Issue