Josh Soref
22b2720036
Java 5: foreach
2019-02-20 21:35:37 -05:00
Josh Soref
893e5c0891
Remove unused imports
2019-02-20 20:55:26 -05:00
Josh Soref
4469f15718
!...anyMatch() -> noneMatch()
2019-02-20 20:53:09 -05:00
Josh Soref
62ed30e55a
Suppress warnings for advapi32
2019-02-20 20:51:35 -05:00
Josh Soref
bd8091cf57
Drop useless local variables
2019-02-20 19:18:09 -05:00
Josh Soref
95c8e71591
String.equals(null) is fast enough...
2019-02-20 19:15:15 -05:00
Josh Soref
7e08108e41
Simplify guard handling of propsToMask.contains
2019-02-20 19:12:14 -05:00
Josh Soref
7c8a51bb12
Simplify == operation on booleans
2019-02-20 19:11:49 -05:00
Josh Soref
5feda70fde
Simplify end of function return logic
2019-02-20 19:08:27 -05:00
Josh Soref
301826ab87
noinspection InfiniteLoopStatement
2019-02-20 19:03:47 -05:00
Josh Soref
004b23133f
Dropping unnecessary semicolons
2019-02-20 18:59:46 -05:00
Josh Soref
adcfcedd7b
Dropping unnecessary public modifiers
2019-02-20 18:59:20 -05:00
Josh Soref
0dc8a22d3f
Dropping redundant enum modifiers
2019-02-20 18:58:26 -05:00
Josh Soref
c0815b50de
Use StandardCharsets
2019-02-20 18:54:18 -05:00
Josh Soref
a43efeab66
use java style array declaration instead of C style
2019-02-20 18:50:33 -05:00
Josh Soref
007dca5960
Drop final for private methods
2019-02-20 18:47:53 -05:00
Josh Soref
b7e83565fd
Java 5: contains
2019-02-20 18:18:23 -05:00
Josh Soref
c3fc2b70d0
refactor throwIOwithCause
2019-02-20 17:49:51 -05:00
Josh Soref
8ee908977a
Drop superfluous Suppression
...
getEntries returns a new object or throws
2019-02-20 17:49:26 -05:00
Baptiste Mathus
398aa582a8
Merge pull request #3896 from daniel-beck/jep-216-localizer
...
[JEP-216] Bump localizer
2019-02-20 10:38:24 +01:00
Baptiste Mathus
3136d84f10
Merge pull request #3897 from markawm/envvars-serialversionuid
...
Add a serialVersionUID to hudson.EnvVars to avoid deserialisation errors
2019-02-20 10:36:16 +01:00
Josh Soref
7f85e0d372
Rely on auto unboxing
2019-02-19 23:26:54 -05:00
Josh Soref
69a36ef727
[JENKINS-56200] LogRecorder: support turning off a log recorder
2019-02-19 11:01:11 -05:00
Josh Soref
35ac4752fd
help: clean up LogRecorder.logger
2019-02-19 05:57:23 -05:00
Kohsuke Kawaguchi
fe25f74725
[maven-release-plugin] prepare for next development iteration
2019-02-17 07:55:23 -08:00
Kohsuke Kawaguchi
8515149ad7
[maven-release-plugin] prepare release jenkins-2.165
jenkins-2.165
2019-02-17 07:55:13 -08:00
Ivan Fernandez Calvo
7f1971b87d
[JENKINS-56166] Remove hudson.util.ssh.SFTPClient classs from core
2019-02-16 12:16:38 +01:00
Oleg Nenashev
621be2a4ce
Merge pull request #3899 from jsoref/properties-quotes
...
Fix single quotes in properties files
2019-02-15 13:17:47 +01:00
Francois-D
527c5935fd
JENKINS-55834 Typo in hudsonHomeIsFull, because of escaping apostrophes ( #3898 )
...
* Update index.properties
* Update index.properties
Whenever you are using MessageFormat you should be aware that the single quote character (') fulfils a special purpose inside message patterns. The single quote is used to represent a section within the message pattern that will not be formatted. A single quote itself must be escaped by using two single quotes ('').
* Update index.properties
Changed "Can't" to can not
* Update core/src/main/resources/hudson/diagnosis/HudsonHomeDiskUsageMonitor/index.properties
Co-Authored-By: Francois-D <46973576+Francois-D@users.noreply.github.com >
2019-02-15 13:17:09 +01:00
Ivan Fernandez Calvo
d9aa1283e6
[JENKINS-43780] Remove references to Trilead classes ( #3876 )
...
* [JENKINS-43780] Remove references to Trilead classes
* Update JSONSignatureValidator.java, Scrambler.java, ConsistentHash.java
2019-02-15 11:51:31 +01:00
Jesse Glick
cc964ef664
Merge pull request #3838 from jglick/remotingCLI
...
Removing code to support the Remoting-based CLI
2019-02-14 22:42:31 -05:00
Josh Soref
f73e15516f
Fix single quotes in properties files
...
Embarrassingly, one of these is from my PR #3588
2019-02-14 19:24:45 -05:00
Jesse Glick
f150370166
Forgotten @Deprecated.
2019-02-14 14:45:52 -05:00
Mark Wynn-Mackenzie
3025c4308b
Add a serialVersionUID to hudson.EnvVars to avoid deserialisation errors.
...
Following some changes to this class we've seen some deserialisation errors due to the
auto-generated serialVersionUID - adding one to avoid these.
2019-02-14 17:10:21 +00:00
Daniel Beck
281090b5a0
[JEP-216] Bump localizer
2019-02-14 12:39:31 +01:00
Oliver Gondža
eccba2acbe
Towards 2.164.1
2019-02-14 07:16:49 +01:00
Kohsuke Kawaguchi
37636943a1
[maven-release-plugin] prepare for next development iteration
2019-02-13 19:03:23 -08:00
Kohsuke Kawaguchi
1dea97978e
[maven-release-plugin] prepare release jenkins-2.150.3
jenkins-2.150.3
2019-02-13 19:03:17 -08:00
Jesse Glick
07633b2559
Also deprecating FullDuplexHttpChannel as it is now unused.
2019-02-12 08:36:46 -05:00
Jesse Glick
af09aaea67
Merge branch 'master' into remotingCLI
2019-02-12 08:34:24 -05:00
Kohsuke Kawaguchi
31ee211e9a
Merge branch 'master' of github.com:jenkinsci/jenkins
2019-02-10 23:45:57 -08:00
Kohsuke Kawaguchi
746035dd97
[maven-release-plugin] prepare for next development iteration
2019-02-10 23:39:01 -08:00
Kohsuke Kawaguchi
ed36a92e99
[maven-release-plugin] prepare release jenkins-2.164
jenkins-2.164
2019-02-10 23:38:52 -08:00
Oleg Nenashev
1ea34a9893
Merge pull request #3893 from daniel-beck/discard-more
...
Do not retain as many artifacts
2019-02-11 08:14:04 +01:00
Nisarg Shah
668ea9edd0
[JENKINS-55738] NodeMonitor out of disk message for master ( #3874 )
2019-02-10 11:19:48 +01:00
Daniel Beck
23d60086d0
Do not retain as many artifacts
2019-02-10 00:48:42 +01:00
Baptiste Mathus
99d7131abe
Merge pull request #3885 from oleg-nenashev/java11/JENKINS-55980-lib-version-number-upd
...
[JENKINS-55980] - Switch Java Specification Version comparison in the core to a robust implementation.
2019-02-08 15:50:38 +01:00
Oleg Nenashev
ba1a27d8a3
Merge pull request #3872 from thomasgl-orange/JTH-2.46
...
JTH 2.46
2019-02-08 11:21:36 +01:00
Wadeck Follonier
2f8b557a3b
[JENKINS-55050] Reduce performance impact of SEC-904 (esp. zip) ( #3861 )
...
* [JENKINS-55050] Reduce log impact on performance
- especially in case of large / deep folder that is fully illegal
- could reduce time by a factor of around 2.
* Use SystemProperties
* [JENKINS-55050] Reduce performance impact of the security release
- SEC-904 increased the time taken to zip files from
DirectoryBrowserSupport views (workspace / artifact)
- This PR proposes a different approach for some of the highly impact scenario
* Update core/src/main/java/jenkins/util/VirtualFile.java
Co-Authored-By: Wadeck <Wadeck@users.noreply.github.com >
* Return in case of interruption instead of continuing
- The interruption status flag is not really respected otherwise
* Update core/src/main/java/jenkins/util/VirtualFile.java
Co-Authored-By: Wadeck <Wadeck@users.noreply.github.com >
* Improve ZipEntry writing
- Add logging on FileSystemException
* Minor refactoring in DirScanner
* Correct conjugation, size for arraylist and dead code removal
* Adjust the PR using the feedbacks
* Adjust the PR using the feedbacks (part 2)
* Adjust the PR using the feedbacks (part 3)
2019-02-08 06:44:29 +01:00
Oleg Nenashev
fab166242d
Merge pull request #3618 from Wadeck/JENKINS-53511_WEBCLIENT_DISCOVERY_IMPROVEMENT
...
[JENKINS-53511] Improve discovery and readability of WebClient
2019-02-08 06:43:50 +01:00