Enable MS_MUTABLE_COLLECTION_PKGPROTECT (#7971)

This commit is contained in:
Fokko Driesprong 2019-07-01 07:54:05 +02:00 committed by Nishant Bangarwa
parent f16f13cf61
commit e8dedb3de4
2 changed files with 1 additions and 3 deletions

View File

@ -55,7 +55,6 @@
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER"/>
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER"/>
<Bug pattern="MS_FINAL_PKGPROTECT"/>
<Bug pattern="MS_MUTABLE_COLLECTION_PKGPROTECT"/>
<Bug pattern="MS_OOI_PKGPROTECT"/>
<Bug pattern="MS_PKGPROTECT"/>
<Bug pattern="NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT"/>

View File

@ -75,7 +75,6 @@ import javax.ws.rs.core.Response;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -528,7 +527,7 @@ public class HadoopIndexTask extends HadoopTask implements ChatHandler
public static class InnerProcessingStatsGetter implements TaskMetricsGetter
{
public static final List<String> KEYS = Arrays.asList(
static final List<String> KEYS = ImmutableList.of(
TaskMetricsUtils.ROWS_PROCESSED,
TaskMetricsUtils.ROWS_PROCESSED_WITH_ERRORS,
TaskMetricsUtils.ROWS_THROWN_AWAY,