You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2022/02/17 12:21:16 UTC

[GitHub] [brooklyn-server] algairim commented on a change in pull request #1301: Support UTF sequences in stream gobbler

algairim commented on a change in pull request #1301:
URL: https://github.com/apache/brooklyn-server/pull/1301#discussion_r808990015



##########
File path: utils/common/src/main/java/org/apache/brooklyn/util/stream/StreamGobbler.java
##########
@@ -60,79 +63,121 @@ public void shutdown() {
 
     String logPrefix = "";
     String printPrefix = "";
+
     public StreamGobbler setPrefix(String prefix) {
         setLogPrefix(prefix);
         setPrintPrefix(prefix);
         return this;
     }
+
     public StreamGobbler setPrintPrefix(String prefix) {
         printPrefix = prefix;
         return this;
     }
+
     public StreamGobbler setLogPrefix(String prefix) {
         logPrefix = prefix;
         return this;
-    }    
-    
+    }
+
     @Override
     public void run() {

Review comment:
       Key changes are in `run()` method, everything else is formatting.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org