Consistent formatting.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605244 13f79535-47bb-0310-9956-ffa450edef68
Use a standard acronym to describe the start of escape sequences (See "Sequence elements" in https://en.wikipedia.org/wiki/ANSI_escape_code).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605246 13f79535-47bb-0310-9956-ffa450edef68
Remove InterruptedException in the method signatures that are not actually thrown.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605247 13f79535-47bb-0310-9956-ffa450edef68
Refactor duplicate code into a new class: FreePortFinder.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605248 13f79535-47bb-0310-9956-ffa450edef68
This test did NOT use a dynamic port.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605249 13f79535-47bb-0310-9956-ffa450edef68
Remove unused code.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605250 13f79535-47bb-0310-9956-ffa450edef68
Move the FreePortFinder to a more generic place for reuse.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605251 13f79535-47bb-0310-9956-ffa450edef68
Javadoc.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605252 13f79535-47bb-0310-9956-ffa450edef68
Use final keyword. Format 1 import line.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605253 13f79535-47bb-0310-9956-ffa450edef68
Reuse Closer API.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1605254 13f79535-47bb-0310-9956-ffa450edef68