You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Javier Godoy (Created) (JIRA)" <ji...@apache.org> on 2011/12/13 19:00:31 UTC

[jira] [Created] (JCR-3180) LocatorFactoryImpl - The variable 'prefix' may be null

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


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

        

[jira] [Updated] (JCR-3180) LocatorFactoryImpl - The variable 'prefix' may be null

Posted by "Javier Godoy (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (JCR-3180) LocatorFactoryImpl - The variable 'prefix' may be null

Posted by "Javier Godoy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)
    
> 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