Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2019-08-28 11:22:59 +10:00
commit 728c96f547
1 changed files with 4 additions and 10 deletions

View File

@ -67,9 +67,7 @@ public class NullSessionCacheTest
se.getSession().setAttribute("pv", new TestObject(count));
}
}
public static class TestObject implements HttpSessionActivationListener
{
int i;
@ -97,8 +95,7 @@ public class NullSessionCacheTest
++activates;
}
}
@Test
public void testWritesWithPassivation() throws Exception
{
@ -191,8 +188,6 @@ public class NullSessionCacheTest
assertEquals(0, context.getSessionHandler()._sessionAttributeListeners.size());
}
@Test
public void testWriteThroughAlways() throws Exception
{
@ -245,7 +240,7 @@ public class NullSessionCacheTest
}
@Test
public void testWriteThroughNew () throws Exception
public void testWriteThroughNew() throws Exception
{
Server server = new Server();
@ -303,8 +298,7 @@ public class NullSessionCacheTest
assertEquals(4, store._numSaves.get());//release session should write it out
assertFalse(session.isResident());
}
@Test
public void testNotCached() throws Exception
{