You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2016/05/05 14:51:12 UTC
[jira] [Updated] (AMBARI-16273) Coverity Scan Tracking.
[ https://issues.apache.org/jira/browse/AMBARI-16273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko updated AMBARI-16273:
----------------------------------------
Component/s: ambari-server
> Coverity Scan Tracking.
> -----------------------
>
> Key: AMBARI-16273
> URL: https://issues.apache.org/jira/browse/AMBARI-16273
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Attachments: AMBARI-16273.patch
>
>
> {code}
> Please find the latest report on new defect(s) introduced to Apache
> Ambari found with Coverity Scan.
> 1 new defect(s) introduced to Apache Ambari found with Coverity Scan.
> New defect(s) Reported-by: Coverity Scan
> Showing 1 of 1 defect(s)
> ** CID 151827: FindBugs: Performance (FB.SIC_INNER_SHOULD_BE_STATIC)
> /ambari-server/src/main/java/org/apache/ambari/server/state/theme/Config
> Co
> ndition.java: 74 in ()
> ________________________________________________________________________
> __
> ______________________________
> *** CID 151827: FindBugs: Performance (FB.SIC_INNER_SHOULD_BE_STATIC)
> /ambari-server/src/main/java/org/apache/ambari/server/state/theme/Config
> Co
> ndition.java: 74 in ()
> 68 public void setElseLabel(ConfigConditionResult elseLabel) {
> 69 this.elseLabel = elseLabel;
> 70 }
> 71
> 72 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
> 73 @JsonIgnoreProperties(ignoreUnknown = true)
> CID 151827: FindBugs: Performance
> (FB.SIC_INNER_SHOULD_BE_STATIC)
> Should
> org.apache.ambari.server.state.theme.ConfigCondition$ConfigConditionR
> es
> ult be a _static_ inner class?
> 74 public class ConfigConditionResult {
> 75 @JsonProperty("property_value_attributes")
> 76 private ValueAttributesInfo propertyValueAttributes;
> 77
> 78 public ValueAttributesInfo getPropertyValueAttributes() {
> 79 return propertyValueAttributes;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)