Netbeans has a bug where it gets the indentation wrong after annotations which have no braced parameters after them, when you use it's reformat code. See the bug entry here. A quick workaround is to tag empty braces after your annotations so
@Entity
public class ....
becomes
@Entity()
public class ....
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment