From 1a65566b12ab27157a8e0c281b753877efba62a2 Mon Sep 17 00:00:00 2001 From: gpawel <gpawel> Date: Fri, 1 Jun 2012 11:47:22 +0000 Subject: [PATCH] Removing unnecessary annotation SVN: 25457 --- .../cisd/authentication/DefaultSessionManagerTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/authentication/sourceTest/java/ch/systemsx/cisd/authentication/DefaultSessionManagerTest.java b/authentication/sourceTest/java/ch/systemsx/cisd/authentication/DefaultSessionManagerTest.java index 7e2963e5105..fe392cb8c83 100644 --- a/authentication/sourceTest/java/ch/systemsx/cisd/authentication/DefaultSessionManagerTest.java +++ b/authentication/sourceTest/java/ch/systemsx/cisd/authentication/DefaultSessionManagerTest.java @@ -48,9 +48,8 @@ public class DefaultSessionManagerTest private static final String REMOTE_HOST = "remote-host"; /** Kind of dummy <code>Principal</code> to point out that the login was successful. */ - private static final Principal principal = - new Principal("bla", StringUtils.EMPTY, StringUtils.EMPTY, - StringUtils.EMPTY, true); + private static final Principal principal = new Principal("bla", StringUtils.EMPTY, + StringUtils.EMPTY, StringUtils.EMPTY, true); private static final int SESSION_EXPIRATION_PERIOD_MINUTES = 1; @@ -96,7 +95,7 @@ public class DefaultSessionManagerTest logRecorder = new BufferedAppender("%-5p %c - %m%n", Level.DEBUG); } - @SuppressWarnings({ "unchecked", "rawtypes" }) + @SuppressWarnings("unchecked") private ISessionManager<BasicSession> createSessionManager(int sessionExpiration) { return new DefaultSessionManager(sessionFactory, prefixGenerator, authenticationService, @@ -328,7 +327,7 @@ public class DefaultSessionManagerTest { final String user = "u1"; final Principal sessionPrincipal = - new Principal(user, StringUtils.EMPTY, StringUtils.EMPTY, StringUtils.EMPTY, true); + new Principal(user, StringUtils.EMPTY, StringUtils.EMPTY, StringUtils.EMPTY, true); prepareRemoteHostSessionFactoryAndPrefixGenerator(user, sessionPrincipal); context.checking(new Expectations() { -- GitLab