You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2007/09/21 20:28:50 UTC

[jira] Created: (TRINIDAD-733) shorten the hashcode in the skin's generated css filename.

shorten the hashcode in the skin's generated css filename.
----------------------------------------------------------

                 Key: TRINIDAD-733
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-733
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
            Reporter: Jeanne Waldman
            Assignee: Jeanne Waldman


This is a small enhancement suggested by Blake Sullivan.

Blake suggested that we shorten the hashcode that we put into the generated css filename by using radix 36 instead of the default.
So in StyleSheetDocument, change:
String.valueOf(Math.abs(hashCode));
to
Integer.toString(Math.abs(hashCode), 36);

This will shorten the generated css filename.

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


[jira] Resolved: (TRINIDAD-733) shorten the hashcode in the skin's generated css filename.

Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeanne Waldman resolved TRINIDAD-733.
-------------------------------------

    Resolution: Fixed

svn 578319
StyleSheetDocument.java

> shorten the hashcode in the skin's generated css filename.
> ----------------------------------------------------------
>
>                 Key: TRINIDAD-733
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-733
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>
> This is a small enhancement suggested by Blake Sullivan.
> Blake suggested that we shorten the hashcode that we put into the generated css filename by using radix 36 instead of the default.
> So in StyleSheetDocument, change:
> String.valueOf(Math.abs(hashCode));
> to
> Integer.toString(Math.abs(hashCode), 36);
> This will shorten the generated css filename.

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