Community
Participate
Working Groups
The result of formatting the following code produces strange line wrapping: import java.util.logging.Logger; public class Test { private final static Logger logger = Logger.getLogger("Test"); void logHeartBeat() { String host = "localhost"; int port = 8080; if (true) { if (true) { logger .finer("Sending heartbeat to [" + host + ":" + port + "]"); } } } } Why is the .finer put on a new line? This does not look very pretty. Ideally, this would be formatted as: logger.finer("Sending heartbeat to [" + host + ":" + port + "]");
*** This bug has been marked as a duplicate of 59891 ***
It was in fact more a duplicate of bug 264112, hence it's fixed since 3.6M5. *** This bug has been marked as a duplicate of bug 264112 ***
Verified for 3.6M7 using build I20100424-2000
Verified.