Menu

#445 Formatting succeeded then failed

1.5rc1
closed-fixed
S
Core (71)
5
2005-11-10
2005-11-03
GilloS
No

Hi,

I found a bug which is disturbing in Jalopy :

When you format a source with option "Add separator
comments", formatting succeeds. Then if you format your
source again, the formatting fails.

I found it's because of the comment lines added by
Jalopy as separatorsr ; if you remove this lines or if
you add a newline after them, you can format again the
source :

Example :
// ~ Constructors
иииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииииии
/**
* Creates a new GProxy object.
*
*
*
* @throws IOException - la documentation de mon
exception ici !
*/
public GProxy( )
throws IOException
{
}

The only way to format sources formatted by older
versions of Jalopy is to deactivate this option and
remove all the separator lines !

Discussion

  • GilloS

    GilloS - 2005-11-03

    Source sample

     
  • S

    S - 2005-11-04
    • milestone: 524338 --> 1.5rc1
    • assigned_to: nobody --> notzippy
    • status: open --> pending
     
  • S

    S - 2005-11-04

    Logged In: YES
    user_id=723231

    Problem was the log level was to high. Anyways it pointed
    the way to another problem which caused javadoc comments to
    disappear if they directly followed the }. (This is also
    fixed) in CVS only.

     
  • S

    S - 2005-11-07
    • status: pending --> pending-fixed
     
  • S

    S - 2005-11-10
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.