Skip to content

Commit

Permalink
Revert "[JENKINS-20769] Trying to fix/suppress some related observed …
Browse files Browse the repository at this point in the history
…or actual NPEs."

This reverts commit eb3a4c3.

Reverting this commit to unmask the problem.
  • Loading branch information
kohsuke committed Mar 27, 2014
1 parent e04ac6c commit ec1a7c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/main/java/hudson/remoting/ProxyInputStream.java
Expand Up @@ -149,9 +149,6 @@ public EOF(int oid) {

protected void execute(Channel channel) {
InputStream in = (InputStream) channel.getExportedObject(oid);
if (in == null) {
return;
}
channel.unexport(oid);
try {
in.close();
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/hudson/remoting/ProxyOutputStream.java
Expand Up @@ -312,9 +312,6 @@ public Flush(int ioId, int oid) {

protected void execute(Channel channel) {
final OutputStream os = (OutputStream) channel.getExportedObject(oid);
if (os == null) {
return;
}
markForIoSync(channel,requestId,channel.pipeWriter.submit(ioId,new Runnable() {
public void run() {
try {
Expand Down Expand Up @@ -381,9 +378,6 @@ public EOF(int ioId, int oid, Throwable error) {

protected void execute(final Channel channel) {
final OutputStream os = (OutputStream) channel.getExportedObject(oid);
if (os == null) {
return;
}
markForIoSync(channel,requestId,channel.pipeWriter.submit(ioId,new Runnable() {
public void run() {
channel.unexport(oid);
Expand Down

0 comments on commit ec1a7c8

Please sign in to comment.