Menu

#487 Identation 'align' wrong with annotations

open
nobody
None
5
2006-03-24
2006-03-24
Kees Kuip
No

I got the following setting:
<Printer>-<Identation>-<Align>-<Variable identifiers> =
true

When I got an annotation before the variabele
identifier the alignment goes wrong.

I have for instance:
@XmlElement(name = "element")
private List<ConfigurationElement>
elements = new ArrayList<ConfigurationElement>();

Now a number of spaces is inserted between
'List<ConfigurationElement>' and 'elements'.
The number of spaces is equal to the length of the
annotation '@XmlElement(name = "element")' minus the
length of 'private'.

Kees Kuip.

Discussion


Log in to post a comment.