You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Vincent Siveton (JIRA)" <ji...@apache.org> on 2008/05/03 16:34:56 UTC

[jira] Created: (SHINDIG-225) Be sure that endsWith() is under lowercase string

Be sure that endsWith() is under lowercase string
-------------------------------------------------

                 Key: SHINDIG-225
                 URL: https://issues.apache.org/jira/browse/SHINDIG-225
             Project: Shindig
          Issue Type: Bug
            Reporter: Vincent Siveton
            Priority: Trivial
         Attachments: SHINDIG-225.patch

Some parts of code use the following

{noformat}
file.getName().endsWith(".js")
{noformat}

The file extension could be in upper case

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


[jira] Commented: (SHINDIG-225) Be sure that endsWith() is under lowercase string

Posted by "Vincent Siveton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594082#action_12594082 ] 

Vincent Siveton commented on SHINDIG-225:
-----------------------------------------

IMHO if some of them use lowercase as requirement, we need to comment them somewhere as requirement.

> Be sure that endsWith() is under lowercase string
> -------------------------------------------------
>
>                 Key: SHINDIG-225
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-225
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>            Priority: Trivial
>         Attachments: SHINDIG-225.patch
>
>
> Some parts of code use the following
> {noformat}
> file.getName().endsWith(".js")
> {noformat}
> The file extension could be in upper case

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


[jira] Updated: (SHINDIG-225) Be sure that endsWith() is under lowercase string

Posted by "Vincent Siveton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated SHINDIG-225:
------------------------------------

    Attachment: SHINDIG-225.patch

trivial patch

> Be sure that endsWith() is under lowercase string
> -------------------------------------------------
>
>                 Key: SHINDIG-225
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-225
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>            Priority: Trivial
>         Attachments: SHINDIG-225.patch
>
>
> Some parts of code use the following
> {noformat}
> file.getName().endsWith(".js")
> {noformat}
> The file extension could be in upper case

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


[jira] Commented: (SHINDIG-225) Be sure that endsWith() is under lowercase string

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594015#action_12594015 ] 

Kevin Brown commented on SHINDIG-225:
-------------------------------------

Some of these don't make sense -- urls are always case sensitive, regardless of file system. Even for the file system, I don't think it's worth the trouble; using the wrong file extension is simply an error.

> Be sure that endsWith() is under lowercase string
> -------------------------------------------------
>
>                 Key: SHINDIG-225
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-225
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>            Priority: Trivial
>         Attachments: SHINDIG-225.patch
>
>
> Some parts of code use the following
> {noformat}
> file.getName().endsWith(".js")
> {noformat}
> The file extension could be in upper case

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