synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (SYNAPSE-504) [PATCH] Fix faulty if guard for setting ds catalog
Date Sun, 15 Feb 2009 12:14:59 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen reassigned SYNAPSE-504:
---------------------------------------

    Assignee: Andreas Veithen

> [PATCH] Fix faulty if guard for setting ds catalog
> --------------------------------------------------
>
>                 Key: SYNAPSE-504
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-504
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.1
>            Reporter: Dave Brosius
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.1.1
>
>         Attachments: faulty_if_guard.diff
>
>
> code uses faulty if guard
> if (defaultCatalog != null || !"".equals(defaultCatalog)) {
>                 basicDataSource.setDefaultCatalog(defaultCatalog);
>             }
> patch fixes this
> if (defaultCatalog != null && !"".equals(defaultCatalog)) {
>                 basicDataSource.setDefaultCatalog(defaultCatalog);
>             }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message