mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 04:52:20 +00:00
Now that we use Java 6, can finally deprecate IOException2.
This commit is contained in:
1 parent
dbf1ea0717
commit
15ac490af1
37 files changed
+92
-144
No files matched your search
@@ -28,7 +28,6 @@ import hudson.FilePath.TarCompression;
|
||||
import hudson.model.TaskListener;
|
||||
import hudson.remoting.LocalChannel;
|
||||
import hudson.remoting.VirtualChannel;
|
||||
import hudson.util.IOException2;
|
||||
import hudson.util.NullStream;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
@@ -142,9 +141,9 @@ public class FilePathTest extends ChannelTestCase {
|
||||
private Exception closed;
|
||||
private volatile int count;
|
||||
|
||||
private void checkNotClosed() throws IOException2 {
|
||||
private void checkNotClosed() throws IOException {
|
||||
if (closed != null)
|
||||
throw new IOException2(closed);
|
||||
throw new IOException(closed);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user