Wrong indentation of arguments of annotated methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b76
    • Verified

        When producing 'method details' section, javadoc tool creates wrong indentations of second and later arguments, if the method has an annotation.

        With the following class, misaligned javadoc is produced:

        public class Test {
            public void of1(int a, int b) {}

            @Deprecated
            public void of2(int a, int b) {}
        }

        In Lynx:
                  + Method Detail
                       o of1
        public void of1(int a,
                        int b)
                       o of2
        @Deprecated
        public void of2(int a,
                                    int b)
                         Deprecated.

              Assignee:
              Ivan Gerasimov
              Reporter:
              Ivan Gerasimov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: