YARN-6014. Followup fix for slider core module findbugs. Contributed by Jian He

This commit is contained in:
Billie Rinaldi 2016-12-20 10:59:58 -08:00 committed by Jian He
parent 1ea43c443e
commit 74fff4086e
2 changed files with 18 additions and 1 deletions

View File

@ -70,6 +70,23 @@
<Class name="org.apache.slider.server.servicemonitor.Probe" /> <Class name="org.apache.slider.server.servicemonitor.Probe" />
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" /> <Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
</Match> </Match>
<Match>
<Class name="org.apache.slider.server.appmaster.web.rest.registry.PathEntryResource" />
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
</Match>
<Match>
<Class name="org.apache.slider.server.appmaster.web.rest.application.actions.StopResponse" />
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
</Match>
<Match>
<Class name="org.apache.slider.server.appmaster.state.ContainerAllocationResults" />
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
</Match>
<Match>
<Class name="org.apache.slider.core.persist.JsonSerDeser" />
<Method name="save" />
<Bug pattern="OBL_UNSATISFIED_OBLIGATION" />
</Match>
<Match> <Match>
<Class name="org.apache.slider.server.services.workflow.ForkedProcessService" /> <Class name="org.apache.slider.server.services.workflow.ForkedProcessService" />
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" /> <Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER" />

View File

@ -24,6 +24,6 @@
@JsonIgnoreProperties(ignoreUnknown = true) @JsonIgnoreProperties(ignoreUnknown = true)
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class StopResponse { public class StopResponse {
String verb; public String verb;
public String text; public String text;
} }