mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Remove commented out methods
This commit is contained in:
@@ -21,11 +21,6 @@ import org.dspace.event.Event;
|
|||||||
public class MockIndexEventConsumer
|
public class MockIndexEventConsumer
|
||||||
extends MockUp<IndexEventConsumer>
|
extends MockUp<IndexEventConsumer>
|
||||||
{
|
{
|
||||||
|
|
||||||
//public void initialize() throws Exception {
|
|
||||||
//do nothing
|
|
||||||
//}
|
|
||||||
|
|
||||||
@Mock
|
@Mock
|
||||||
public void consume(Context ctx, Event event) throws Exception {
|
public void consume(Context ctx, Event event) throws Exception {
|
||||||
//do nothing - Solr is not running during unit testing, so we cannot index test content in Solr
|
//do nothing - Solr is not running during unit testing, so we cannot index test content in Solr
|
||||||
@@ -35,8 +30,4 @@ public class MockIndexEventConsumer
|
|||||||
public void end(Context ctx) throws Exception {
|
public void end(Context ctx) throws Exception {
|
||||||
//do nothing - Solr is not running during unit testing, so we cannot index test content in Solr
|
//do nothing - Solr is not running during unit testing, so we cannot index test content in Solr
|
||||||
}
|
}
|
||||||
|
|
||||||
//public void finish(Context ctx) throws Exception {
|
|
||||||
//do nothing
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user