checkstyle violations fixing

This commit is contained in:
Paulo Graça
2023-05-20 10:41:51 +01:00
parent cd73d38be8
commit 687b6216df
3 changed files with 5 additions and 3 deletions

View File

@@ -107,7 +107,11 @@ public class SubmissionConfigReader {
* always reload from scratch) * always reload from scratch)
*/ */
private SubmissionConfig lastSubmissionConfig = null; private SubmissionConfig lastSubmissionConfig = null;
/**
* Collection Service instance, needed to interact with collection's
* stored data
*/
protected static final CollectionService collectionService protected static final CollectionService collectionService
= ContentServiceFactory.getInstance().getCollectionService(); = ContentServiceFactory.getInstance().getCollectionService();

View File

@@ -18,7 +18,6 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.MissingResourceException; import java.util.MissingResourceException;
import java.util.Objects; import java.util.Objects;
import java.util.Optional;
import java.util.Set; import java.util.Set;
import java.util.UUID; import java.util.UUID;

View File

@@ -455,7 +455,6 @@ public interface CollectionService
public int countCollectionsWithSubmit(String q, Context context, Community community, String entityType) public int countCollectionsWithSubmit(String q, Context context, Community community, String entityType)
throws SQLException, SearchServiceException; throws SQLException, SearchServiceException;
/** /**
* Returns a list of all collections for a specific entity type. * Returns a list of all collections for a specific entity type.
* NOTE: for better performance, this method retrieves its results from an index (cache) * NOTE: for better performance, this method retrieves its results from an index (cache)