From: SourceForge.net <no...@so...> - 2008-05-02 00:38:21
|
Bugs item #1955788, was opened at 2008-05-01 19:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1955788&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Definitions (source editor) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mathias Ricken (mgricken) Assigned to: Nobody/Anonymous (nobody) Summary: Strange Indenting with Anonymous Inner Class as Argument Initial Comment: The following source code is indented in a very strange manner. The method of the first anonymous inner class (2nd argument) is indented one step from the beginning of the line where the method. The method of the second anonymous inner class (3rd argument) is indented one step from the column with the "new" that creates the object. This is how indenting should behave. <pre> methodCall(this, new Lambda<Void,WindowEvent>() { public Void apply(WindowEvent e) { return null; } }, new Lambda<Void,WindowEvent>() { public Void apply(WindowEvent e) { return null; } }); </pre> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1955788&group_id=44253 |