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 Logger log = LoggerFactory.getLogger( RssFeedServlet.class );
|
||||||
|
|
||||||
private RssFeedProcessor processor;
|
|
||||||
|
|
||||||
private WebApplicationContext wac;
|
private WebApplicationContext wac;
|
||||||
|
|
||||||
private UserRepositories userRepositories;
|
private UserRepositories userRepositories;
|
||||||
|
@ -131,6 +129,8 @@ public class RssFeedServlet
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RssFeedProcessor processor = null;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Map<String, String> map = new HashMap<>();
|
Map<String, String> map = new HashMap<>();
|
||||||
|
|
|
@ -431,7 +431,7 @@ public class RssFeedServletTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
public void XXX_testInvalidRequest()
|
public void testInvalidRequest()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
//RssFeedServlet servlet =
|
//RssFeedServlet servlet =
|
||||||
|
@ -450,7 +450,7 @@ public class RssFeedServletTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
public void XXX_testInvalidAuthenticationRequest()
|
public void testInvalidAuthenticationRequest()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
//RssFeedServlet servlet =
|
//RssFeedServlet servlet =
|
||||||
|
@ -476,7 +476,7 @@ public class RssFeedServletTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
public void XXX_testUnauthorizedRequest()
|
public void testUnauthorizedRequest()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue