mirror of https://github.com/apache/archiva.git
make this servlet thread safe!!
This commit is contained in:
parent
c2f9100dda
commit
70bc09fbb9
|
@ -78,8 +78,6 @@ public class RssFeedServlet
|
|||
|
||||
private Logger log = LoggerFactory.getLogger( RssFeedServlet.class );
|
||||
|
||||
private RssFeedProcessor processor;
|
||||
|
||||
private WebApplicationContext wac;
|
||||
|
||||
private UserRepositories userRepositories;
|
||||
|
@ -131,6 +129,8 @@ public class RssFeedServlet
|
|||
return;
|
||||
}
|
||||
|
||||
RssFeedProcessor processor = null;
|
||||
|
||||
try
|
||||
{
|
||||
Map<String, String> map = new HashMap<>();
|
||||
|
|
|
@ -431,7 +431,7 @@ public class RssFeedServletTest
|
|||
}
|
||||
|
||||
@Ignore
|
||||
public void XXX_testInvalidRequest()
|
||||
public void testInvalidRequest()
|
||||
throws Exception
|
||||
{
|
||||
//RssFeedServlet servlet =
|
||||
|
@ -450,7 +450,7 @@ public class RssFeedServletTest
|
|||
}
|
||||
|
||||
@Ignore
|
||||
public void XXX_testInvalidAuthenticationRequest()
|
||||
public void testInvalidAuthenticationRequest()
|
||||
throws Exception
|
||||
{
|
||||
//RssFeedServlet servlet =
|
||||
|
@ -476,7 +476,7 @@ public class RssFeedServletTest
|
|||
}
|
||||
|
||||
@Ignore
|
||||
public void XXX_testUnauthorizedRequest()
|
||||
public void testUnauthorizedRequest()
|
||||
throws Exception
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue