cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ma (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CXF-6812) Cxf webTargetImpl should always check if client is closed frist
Date Wed, 02 Mar 2016 05:53:18 GMT

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

Jim Ma reassigned CXF-6812:
---------------------------

    Assignee: Jim Ma

> Cxf webTargetImpl should always check if client is closed frist
> ---------------------------------------------------------------
>
>                 Key: CXF-6812
>                 URL: https://issues.apache.org/jira/browse/CXF-6812
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.5
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 3.2.0, 3.1.6
>
>
> org.apache.cxf.jaxrs.client.spec.Clientimpl$WebClientImpl#resolveTemplatesFromEncoded(Map<String,
Object> templatesMap) method should always check if client is closed first. If the input
templatesMap is empty , even the client is closed it still returns this object:
> <code>
>         @Override
>         public WebTarget resolveTemplatesFromEncoded(Map<String, Object> templatesMap)
{
>             checkClosed();
>             checkNullMap(templatesMap);
>             if (templatesMap.isEmpty()) {
>                 return this;
>             }
>             return newWebTarget(getUriBuilder().resolveTemplatesFromEncoded(templatesMap));
>         }
> </code>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message