YARN-6014. Followup fix for slider core module findbugs. Contributed by Jian He
This commit is contained in:
parent
1ea43c443e
commit
74fff4086e
@ -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" />
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user