diff options
author | Florian Weikert <fwe@google.com> | 2015-11-20 09:20:08 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2015-11-20 21:05:33 +0000 |
commit | 11b29dd8b37356d4ede7065904fdf14ed41c433f (patch) | |
tree | 1327d4f7cdc6ab45afe4a792a5d379c12188cba1 /src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java | |
parent | 456aa7743ac0e68ad8f9a4261bbf655e4eb4fea3 (diff) |
Removed trailing period from info messages.
--
MOS_MIGRATED_REVID=108324961
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java b/src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java index a15583ac08..b27364975b 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/FancyTerminalEventHandler.java @@ -309,7 +309,7 @@ public class FancyTerminalEventHandler extends BlazeCommandEventHandler { /** * Send the terminal controls that will put the cursor on the beginning * of the same line if cursor control is on, or the next line if not. - * @returns True if it did any output; if so, caller is responsible for + * @return True if it did any output; if so, caller is responsible for * flushing the terminal if needed. */ private boolean maybeOverwritePreviousMessage() throws IOException { @@ -360,7 +360,8 @@ public class FancyTerminalEventHandler extends BlazeCommandEventHandler { terminal.writeString(event.getKind() + ": "); terminal.resetTerminal(); writeTimestampAndLocation(event); - writeStringWithPotentialPeriod(event.getMessage()); + terminal.writeString(event.getMessage()); + // No period; info messages may end with a URL. crlf(); } |