jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Godoy (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3180) LocatorFactoryImpl - The variable 'prefix' may be null
Date Tue, 13 Dec 2011 18:02:30 GMT

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

Javier Godoy updated JCR-3180:
------------------------------

    Attachment: LocatorFactoryImpl.java.patch

replace 
 !prefix.endsWith(repositoryPrefix

by
 (prefix==null||!prefix.endsWith(repositoryPrefix))
                
> LocatorFactoryImpl - The variable 'prefix' may be null
> ------------------------------------------------------
>
>                 Key: JCR-3180
>                 URL: https://issues.apache.org/jira/browse/JCR-3180
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.4
>            Reporter: Javier Godoy
>            Priority: Minor
>         Attachments: LocatorFactoryImpl.java.patch
>
>
> The variable "prefix" in method createResourceLocator of LocatorFactoryImpl:49
> (jackrabbiit-webdav, package org.apache.jackrabbit.webdav.simple) may be null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message