[jira] Created: (GRFT-130) Some classes use JDK 5 autoboxing

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (GRFT-130) Some classes use JDK 5 autoboxing

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some classes use JDK 5 autoboxing
---------------------------------

                 Key: GRFT-130
                 URL: https://issues.apache.org/jira/browse/GRFT-130
             Project: Graffito
          Issue Type: Bug
            Reporter: Felix Meschberger


The AtomicTest and UndefinedTypeConverterImpl classes employ Java 5 autoboxing functionality which is not available on Java 1.4 platform also supported by Jackrabbit and JCR.

Additionally, the UndefinedTypeConverterImpl class contains a potential class ClassCasst issue in inthat an Integer object is cast to Long.

Attaching a patch, which uses explicit boxing/unboxing.

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


[jira] Updated: (GRFT-130) Some classes use JDK 5 autoboxing

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Felix Meschberger updated GRFT-130:
-----------------------------------

    Attachment: GRFT-130.diff

Patch fixing the boxing issues.

> Some classes use JDK 5 autoboxing
> ---------------------------------
>
>                 Key: GRFT-130
>                 URL: https://issues.apache.org/jira/browse/GRFT-130
>             Project: Graffito
>          Issue Type: Bug
>            Reporter: Felix Meschberger
>         Attachments: GRFT-130.diff
>
>
> The AtomicTest and UndefinedTypeConverterImpl classes employ Java 5 autoboxing functionality which is not available on Java 1.4 platform also supported by Jackrabbit and JCR.
> Additionally, the UndefinedTypeConverterImpl class contains a potential class ClassCasst issue in inthat an Integer object is cast to Long.
> Attaching a patch, which uses explicit boxing/unboxing.

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


[jira] Resolved: (GRFT-130) Some classes use JDK 5 autoboxing

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Christophe Lombart resolved GRFT-130.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: ocm-1.0

Patch applied.

Felix, can you check if it is ok ? Thanks

> Some classes use JDK 5 autoboxing
> ---------------------------------
>
>                 Key: GRFT-130
>                 URL: https://issues.apache.org/jira/browse/GRFT-130
>             Project: Graffito
>          Issue Type: Bug
>            Reporter: Felix Meschberger
>             Fix For: ocm-1.0
>
>         Attachments: GRFT-130.diff
>
>
> The AtomicTest and UndefinedTypeConverterImpl classes employ Java 5 autoboxing functionality which is not available on Java 1.4 platform also supported by Jackrabbit and JCR.
> Additionally, the UndefinedTypeConverterImpl class contains a potential class ClassCasst issue in inthat an Integer object is cast to Long.
> Attaching a patch, which uses explicit boxing/unboxing.

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


[jira] Closed: (GRFT-130) Some classes use JDK 5 autoboxing

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Felix Meschberger closed GRFT-130.
----------------------------------


Looks good. Thanks for applying.

> Some classes use JDK 5 autoboxing
> ---------------------------------
>
>                 Key: GRFT-130
>                 URL: https://issues.apache.org/jira/browse/GRFT-130
>             Project: Graffito
>          Issue Type: Bug
>            Reporter: Felix Meschberger
>             Fix For: ocm-1.0
>
>         Attachments: GRFT-130.diff
>
>
> The AtomicTest and UndefinedTypeConverterImpl classes employ Java 5 autoboxing functionality which is not available on Java 1.4 platform also supported by Jackrabbit and JCR.
> Additionally, the UndefinedTypeConverterImpl class contains a potential class ClassCasst issue in inthat an Integer object is cast to Long.
> Attaching a patch, which uses explicit boxing/unboxing.

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

LightInTheBox - Buy quality products at wholesale price