cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kansal <>
Subject [GitHub] cloudstack pull request: Dereference NULL return value
Date Mon, 27 Jul 2015 11:01:10 GMT
Github user kansal commented on a diff in the pull request:
    --- Diff: plugins/user-authenticators/saml2/src/org/apache/cloudstack/saml/
    @@ -119,12 +123,12 @@
         public boolean start() {
             if (isSAMLPluginEnabled()) {
    -            setup();
       "SAML auth plugin loaded");
    +            return setup();
             } else {
    --- End diff --
    @bhaisaab I feel we can go with the if-else style because it anyhow is doing the same
thing plus it give better code readability and logging. Your take?  

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message