mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8228392: Backout incorrect change done by JDK-8067801
Reviewed-by: lancea
This commit is contained in:
parent
e396e38bb3
commit
ba9c952f87
6 changed files with 10 additions and 99 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -59,9 +59,6 @@ class FilterInputStream extends InputStream {
|
|||
* this instance is to be created without an underlying stream.
|
||||
*/
|
||||
protected FilterInputStream(InputStream in) {
|
||||
if (in == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
this.in = in;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -67,10 +67,6 @@ public class FilterOutputStream extends OutputStream {
|
|||
* created without an underlying stream.
|
||||
*/
|
||||
public FilterOutputStream(OutputStream out) {
|
||||
if (out == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
this.out = out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue