Menu

#436 Enum not handled correctly

1.5rc1
closed
nobody
Core (71)
5
2005-10-24
2005-10-22
Adam Zell
No

Windows XP
Jalopy console 1.0.5
Jalopy 1.5b2

Given the following source code:

public final class JalopyTest
{
public enum Enum
{
/** Data is encoded in the query. */
GET,

/** Data is encoded in the body. */
POST
}
}

and the command line:

./bin/jalopy.sh -d _New JalopyTest.java

results in the following processed file:

/**
* DOCUMENT ME!
*
* @author $author$
* @version $Revision$
*/
public final class JalopyTest
{
public enum Enum
{
/**
* Data is encoded in the query.
*/
GET,
/**
* Data is encoded in the body.
*/
POST;}
}

Note that ";}" has been appended after the last element
(POST) but without any preceding newlines or spaces.

Discussion

  • S

    S - 2005-10-24

    Logged In: YES
    user_id=723231

    Corrected in CVS

     
  • S

    S - 2005-10-24
    • status: open --> closed
     

Log in to post a comment.