Menu

#477 Inconsistent Javadoc indentation

1.5rc3
open
S
7
2006-03-03
2006-02-15
Adam Zell
No

Given the following source and the attached convention
file:

public class Test
{
/**
* Creates a new Test object.
*/
public Test()
{
}

/**
* DOCUMENT ME!
*
* @return DOCUMENT ME!
*/
public String toString()
{
return "Test";
}
}

the output looks like:

/**
* DOCUMENT ME!
*
* @author $author$
* @version $Revision$
*/ <-------------
public class Test
{
/** <-------------
* Creates a new Test object.
*/
public Test()
{
}

/**
* DOCUMENT ME!
*
* @return DOCUMENT ME!
*/
public String toString()
{
return "Test";
}
}

Note that the class Javadoc comment is off by one
space, and that the Javadoc constructor is off by two
spaces.

1.5rc3 console.

Discussion

  • Adam Zell

    Adam Zell - 2006-02-15

    Convention file

     
  • Adam Zell

    Adam Zell - 2006-02-15
    • priority: 5 --> 7
     
  • Adam Zell

    Adam Zell - 2006-02-15

    jalopy-processed output

     
  • S

    S - 2006-03-03

    Logged In: YES
    user_id=723231

    I was able to simulate the class definition error (it was
    also occuring for interface definitions) howvere I wasnt
    able to emulate the constructor problem.
    If you enable the printer logger to the "info" and format
    this class can you attach the output ?

    Thanks

     
  • S

    S - 2006-03-03
    • assigned_to: nobody --> notzippy
     
  • Adam Zell

    Adam Zell - 2006-03-03

    Logged In: YES
    user_id=152749

    I didn't see any output when using --loglevel=INFO, so I
    tried --loglevel=DEBUG. The output is attached.

     
  • Adam Zell

    Adam Zell - 2006-03-03

    DEBUG logging

     

Log in to post a comment.