]> source.dussan.org Git - aspectj.git/commit
Further improve indentation of compilation results on the console gh-217
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Tue, 24 Jan 2023 16:17:41 +0000 (17:17 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Tue, 24 Jan 2023 16:17:41 +0000 (17:17 +0100)
commitdd3177909ec52e89e5e3dc10125c3527ce6e73dc
tree1bdc1d0b16426eb9902150bfc298dd60b7dd9741
parent827115335ff1269df28085e215b081e24596ff1d
Further improve indentation of compilation results on the console

In CompilationResult.toString, no longer indent like this:

  [warning 1] warning at
              after() : execution(FooBar Blah.*()) {
                                  ^^^^^^
              xxx FooBar [Xlint:invalidAbsoluteTypeName]

Instead, always just indent by 2 spaces, saving screen real estate:

  [warning 1] warning at
    after() : execution(FooBar Blah.*()) {
                        ^^^^^^
    xxx FooBar [Xlint:invalidAbsoluteTypeName]

Also further streamline/simplify the code a bit.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/CompilationResult.java