mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 21:15:23 +00:00
JDK11 support: refactor code to avoid underscore variable names
This commit is contained in:
1 parent
5b8d41e6ae
commit
a3cc7780aa
21 files changed
+42
-42
No files matched your search
@@ -2309,7 +2309,7 @@ public final class FilePath implements Serializable {
|
||||
// legacy agent.jar. Handle this gracefully
|
||||
try {
|
||||
LOGGER.log(Level.WARNING,"Looks like an old agent.jar. Please update "+ Which.jarFile(Channel.class)+" to the new version",e);
|
||||
} catch (IOException _) {
|
||||
} catch (IOException ex) {
|
||||
// really ignore this time
|
||||
}
|
||||
}
|
||||
@@ -2427,7 +2427,7 @@ public final class FilePath implements Serializable {
|
||||
// report both errors
|
||||
e.addSuppressed(x);
|
||||
throw e;
|
||||
} catch (TimeoutException _) {
|
||||
} catch (TimeoutException ex) {
|
||||
// remote is hanging
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user