-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #2 Adding option to log command output to a file
- Loading branch information
1 parent
dcfe558
commit f2af8f7
Showing
3 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/co/escapeideas/maven/ansible/NoopWriter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package co.escapeideas.maven.ansible; | ||
|
||
import java.io.IOException; | ||
import java.io.Writer; | ||
|
||
/** | ||
* Created by tmullender on 30/10/14. | ||
*/ | ||
public class NoopWriter extends Writer { | ||
@Override | ||
public void write(final char[] cbuf, final int off, final int len) throws IOException { | ||
|
||
} | ||
|
||
@Override | ||
public void write(final String str) throws IOException { | ||
|
||
} | ||
|
||
@Override | ||
public void flush() throws IOException { | ||
|
||
} | ||
|
||
@Override | ||
public void close() throws IOException { | ||
|
||
} | ||
} |