[OS-JIRA] Created: (CAY-398) Compiler warnings in generated auto classes when using inheritance

From: jira-norepl..bjectstyle.org
Date: Thu Nov 03 2005 - 16:46:38 EST

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-399) Make objectsFromDataRows() more robust in type conversions"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-398

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-398
        Summary: Compiler warnings in generated auto classes when using inheritance
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 CayenneModeler GUI
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Jeff de Vries

        Created: Thu, 3 Nov 2005 4:45 PM
        Updated: Thu, 3 Nov 2005 4:45 PM
    Environment: Cayenne Modeler 1.2M6
    Windows XP Pro and SuSE LINUX
    Java 1.4.2
    Eclipse 3.0 (for compiling)

    Description:
    How to reproduce:
    1) Create a new ObjEntity that inherits from an existing ObjEntity that has a one-to-many relationship (not sure this last part is actually required)
    2) Tools > Generate Classes
    3) Hit "Generate" on dialog ("Generate Superclass" is already selected)
    4) Compile generated classes

    Each source file for an "auto" _superclass class that was inherited from another class will get the warning message:
    "The import java.util.List is never used"

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Thu Nov 03 2005 - 16:46:38 EST