mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
compilation warnings
This commit is contained in:
parent
a355f5145a
commit
db9abf589f
1 changed files with 5 additions and 1 deletions
|
@ -53,6 +53,7 @@ public class StreamMonitor extends OutputStream {
|
||||||
/**
|
/**
|
||||||
* @see java.io.OutputStream#close()
|
* @see java.io.OutputStream#close()
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
if (console != null) {
|
if (console != null) {
|
||||||
console.close();
|
console.close();
|
||||||
|
@ -63,6 +64,7 @@ public class StreamMonitor extends OutputStream {
|
||||||
/**
|
/**
|
||||||
* @see java.io.OutputStream#flush()
|
* @see java.io.OutputStream#flush()
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void flush() throws IOException {
|
public void flush() throws IOException {
|
||||||
if (console != null) {
|
if (console != null) {
|
||||||
console.flush();
|
console.flush();
|
||||||
|
@ -72,6 +74,7 @@ public class StreamMonitor extends OutputStream {
|
||||||
/**
|
/**
|
||||||
* @see java.io.OutputStream#write(int)
|
* @see java.io.OutputStream#write(int)
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public synchronized void write(int b) throws IOException {
|
public synchronized void write(int b) throws IOException {
|
||||||
if (console != null) {
|
if (console != null) {
|
||||||
console.write(b);
|
console.write(b);
|
||||||
|
@ -80,8 +83,9 @@ public class StreamMonitor extends OutputStream {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see java.io.OutputStream#write(...)
|
* @see java.io.OutputStream#write(byte[], int, int)
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public synchronized void write(byte[] b, int off, int len) throws IOException {
|
public synchronized void write(byte[] b, int off, int len) throws IOException {
|
||||||
if (b == null) {
|
if (b == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
|
|
Loading…
Add table
Reference in a new issue