Menu

#261 Wrong indentation if I have a blank line in an array

closed
nobody
1
2005-09-12
2003-01-28
Ralph Warta
No

Hi

I have an array that looks like this
/** array of key, value string pairs **/
private static final Object[][] CONTENTS =
{
{ new String("hello"), new String("test") },

{ new String("hello"), new String("test") },
{ new String("hello"), new String("test") }
};

After I run Jalopy it looks like this

/** array of key, value string pairs **/
private static final Object[][] CONTENTS =
{
{ new String("hello"), new String("test") },

{ new String("hello"), new String("test") },
{ new String("hello"), new String("test") }
};

It seems Jalopy doesnt like the blank line. If I remove the
blank line the formatting looks fine.

I attached the jalopy conventions

Discussion

  • Marco Hunsicker

    Marco Hunsicker - 2003-07-07

    Logged In: YES
    user_id=44430

    Will be fixed with the first stable release. Thanks

     
  • Marco Hunsicker

    Marco Hunsicker - 2003-07-07

    Logged In: YES
    user_id=44430

    Please note that I don't develop the open source code any
    further. See my post on the user list for more information
    (https://sourceforge.net/mailarchive/forum.php?thread_id=2463425&forum_id=8775).

    Thanks

     
  • Marco Hunsicker

    Marco Hunsicker - 2003-07-07
    • priority: 5 --> 1
     
  • S

    S - 2005-09-12
    • milestone: --> Archive_pre_jalopy_1.5_bugs
    • status: open --> closed
     

Log in to post a comment.