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 2019/06/05 15:40:01 UTC

[jira] [Commented] (AMBARI-25286) Optional used as createViewUrlResource arg

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

Hudson commented on AMBARI-25286:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10495 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10495/])
[AMBARI-25286] : Avoid conditional logic for creating ViewURLResource (amagyar: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=c7ac862a4c335c4e05dfb9ad20b09e6ce3f8e097])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/api/services/views/ViewUrlsService.java


> Optional used as createViewUrlResource arg
> ------------------------------------------
>
>                 Key: AMBARI-25286
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25286
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.7.4
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: trunk, 2.7.4
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> ViewUrlService is using Optional<String> for urlName to create resource. We should avoid conditional logic inside method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)