Share

Jalopy Java Source Code Formatter

Tracker: Bugs

1 Parser Java: hidden token not moved to imaginary node - ID: 615039
Last Update: Settings changed ( marcohu )

The following code:

public interface Foo
{
/**
* Foo method.
*
* @return something
*/
int[] foo();
}

when run through jalopy on Eclipse, results in jalopy
removing all javadoc tags (in this case, just @return) for
the foo() method.

Adding a "public" modifier before corrects this behaviour.
(Unfortunately for me, our policy is not to specify the
(redundant) public modifier in interfaces). As far as I can
see, this only occurs on methods returning an array.


Magnus Ihse Bursie ( ihse ) - 2002-09-26 16:21

1

Closed

Fixed

Marco Hunsicker

Parser Java

None

Public


Comments ( 2 )

Date: 2002-09-28 12:49
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

Fixed in CVS.


Date: 2002-09-27 15:11
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

Ok, I see. Another Java AST/hidden token issue. Should be
fixed with the next beta.

Thanks.


Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2002-11-13 00:02 marcohu
close_date - 2002-11-13 00:02 marcohu
priority 5 2002-09-28 12:49 marcohu
resolution_id None 2002-09-28 12:49 marcohu
assigned_to nobody 2002-09-27 15:11 marcohu
category_id Parser Javadoc 2002-09-27 15:11 marcohu
summary Javadoc tags removed for some methods 2002-09-27 15:11 marcohu