You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/05/10 15:06:12 UTC

[jira] [Commented] (AMBARI-16273) Coverity Scan Tracking.

    [ https://issues.apache.org/jira/browse/AMBARI-16273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278236#comment-15278236 ] 

Hudson commented on AMBARI-16273:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4815 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4815/])
AMBARI-16273. Coverity Scan Tracking. (dlysnichenko) (dlysnichenko: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bbe212804a33945efaa112e7bfd50ece11826b94])
* ambari-server/src/main/java/org/apache/ambari/server/state/theme/ConfigCondition.java


> Coverity Scan Tracking.
> -----------------------
>
>                 Key: AMBARI-16273
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16273
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.4.0
>
>         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)