Commit Graph
32590 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 0dfe346c9c [maven-release-plugin] prepare for next development iteration 2019-02-25 16:05:08 -08:00
Kohsuke Kawaguchi fbd80b9278 [maven-release-plugin] prepare release jenkins-2.166 jenkins-2.166 2019-02-25 16:04:59 -08:00
Ivan Fernandez Calvo 46cbaf51e8 [JENKINS-56167] Replace Trilead-ssh2 PEMParser class (#3902)
* [JENKINS-56167] Replace Trilead-ssh2 PEMParser class by Mina SSHD SecurityUtils.loadKeyPairIdentity implementation

* Update PrivateKeyProviderTest.java

* Update cli/src/test/java/hudson/cli/PrivateKeyProviderTest.java

Co-Authored-By: kuisathaverat <kuisathaverat@users.noreply.github.com>

* Update PrivateKeyProviderTest.java

* Update PrivateKeyProvider.java

* Update PrivateKeyProviderTest.java

* Update PrivateKeyProvider.java
2019-02-25 10:11:42 +01:00
Oleg Nenashev 8cdc17c913 Merge pull request #3906 from jsoref/logrecorder-off
[JENKINS-56200] LogRecorder: support turning off a log recorder
2019-02-25 10:06:25 +01:00
Mit Naria 399c8ba40a [FIX JENKINS-43218] Fix Fingerprint.toString() (#3910)
* [FIX JENKINS-43218] Fix Fingerprint.toString()

1. Fix Fingerprint.toString() method when
   variable usages = null .

Signed-off-by: Mit Naria <mit4dev@gmail.com>

* [FIX JENKINS-43218] Fix Fingerprint.toString()

1. Fix Fingerprint.toString() method when
   variable usages = null .

* [JENKINS-43218] - Retrigger the build after the Java 11 fixes on ci.jenkins.io
2019-02-23 10:12:26 +01:00
Oleg Nenashev a5c9d7fce9 Merge pull request #3907 from jsoref/auto-unbox
Rely on auto unboxing
2019-02-23 10:12:00 +01:00
Oleg Nenashev 49e97b8f9e Merge pull request #3909 from jsoref/java-cleanup
Java cleanup
2019-02-23 10:11:44 +01:00
Daniel Beck 7e3e5606e9 Merge pull request #3905 from jsoref/logger-help
help: clean up LogRecorder.logger
2019-02-23 00:12:31 +01:00
Baptiste Mathus d3301258cb Merge pull request #3912 from batmat/bump-to-jth.2.47
Update to jenkins-test-harness:2.47
2019-02-22 16:10:16 +01:00
Baptiste Mathus 65ca4076a8 Update to jenkins-test-harness:2.47 2019-02-22 11:22:46 +01:00
Josh Soref b9ef494715 Drop unnecessary casts 2019-02-21 00:42:18 -05:00
Josh Soref 003e525b79 Java can infer types for <> 2019-02-21 00:33:38 -05:00
Josh Soref c0ee577183 Java 7 update 6: String.substring changed from sharing a reference to String to having its own copy of the data it owns 2019-02-21 00:32:35 -05:00
Josh Soref 33d4bcea93 Remove unnecessary operation 2019-02-21 00:27:44 -05:00
Josh Soref 18847a9fc6 Omit useless argument 2019-02-21 00:27:12 -05:00
Josh Soref ec4491eb75 Omit useless argument 2019-02-21 00:26:50 -05:00
Josh Soref 11f301b5ee StringBuilder.append() supports slicing 2019-02-21 00:23:53 -05:00
Josh Soref e5928360a1 Useless null check 2019-02-20 23:52:43 -05:00
Josh Soref b2e36a6ca4 If two users trigger updateDirectly -> isDue, make one wait 2019-02-20 23:51:52 -05:00
Josh Soref 2705139798 Remove useless assignment 2019-02-20 23:35:46 -05:00
Josh Soref 3d8c3c417c Remove useless initialization 2019-02-20 23:35:12 -05:00
Josh SorefandDaniel Beck 7d1353b6ad Show empty statement by putting the semicolon on its own line - ChunkedInputStream.exhaustInputStream
Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2019-05-14 10:59:43 -04:00
Josh SorefandDaniel Beck e851b5e024 Show empty statement by putting the semicolon on its own line - FilePath.normalize
Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2019-05-14 10:58:34 -04:00
Josh Soref 36fa47add2 noinspection StatementWithEmptyBody 2019-02-20 23:15:14 -05:00
Josh Soref 6e0b0ecab9 Avoid empty statement 2019-02-20 23:15:08 -05:00
Josh Soref e1768cb14f Overwritten Map key -- dropping since the line is identical 2019-02-20 23:11:39 -05:00
Josh Soref ac7fb83a6d @SuppressWarnings("MismatchedQueryAndUpdateOfCollection") 2019-02-20 22:36:37 -05:00
Josh Soref bf0f840c48 @SuppressWarnings("CopyConstructorMissesField") 2019-02-20 22:30:27 -05:00
Josh Soref 086109c667 tabs/trailing whitespace 2019-02-20 22:29:27 -05:00
Josh Soref 8c6053d88b Sometimes String is more efficient than StringBuilder
When there is a single flat instance...
2019-02-20 22:23:50 -05:00
Josh Soref 5e0288b86b StringBuilder 2019-02-20 22:22:19 -05:00
Josh Soref a7ae9c3685 StringBuilder.append() chaining 2019-02-20 22:20:42 -05:00
Josh Soref 9299974359 Parameterized constructors 2019-02-20 22:17:03 -05:00
Josh Soref c5b96062fb tabs/trailing whitespace 2019-02-20 22:15:48 -05:00
Josh Soref 0fac99838c OpenJDK6: Collection.toArray() is apparently smart in modern java 2019-02-20 22:11:26 -05:00
Josh Soref 6415fa12dc addAll() 2019-02-20 22:08:37 -05:00
Josh Soref 26c39a36b3 noinspection PointlessArithmeticExpression 2019-02-20 22:08:08 -05:00
Josh Soref 1eaeae91fb Java 8: computeIfAbsent() 2019-02-20 22:05:59 -05:00
Josh Soref 9213e6f3a7 Java 8: removeIf() 2019-02-20 22:04:56 -05:00
Josh Soref b3e612c2b0 Java 8: List.sort() 2019-02-20 22:02:35 -05:00
Josh Soref b79ec4ff48 Java 7: try with resources 2019-02-20 22:01:10 -05:00
Josh Soref 345b964962 Java 7: identical multi-catch sections 2019-02-20 21:56:40 -05:00
Josh Soref 385cfb081d Unwrap <> to previous line 2019-03-15 14:22:01 -04:00
Josh Soref 264980c707 Java 7: omit explit type in favor of <> 2019-02-20 21:51:03 -05:00
Josh Soref 6712bb11e7 Make IntelliJ formatter happy 2019-02-20 21:46:50 -05:00
Josh Soref 6811328320 Java 5: foreach loop 2019-02-20 21:46:39 -05:00
Josh Soref 47daeb4cc1 Java 5: skip (un)boxing 2019-02-20 21:46:06 -05:00
Josh Soref 64ab6e48b5 No need for a boxed double 2019-02-20 21:44:55 -05:00
Josh Soref fbdc8f7946 Java 5: use thread-unsafe StringBuilder 2019-02-20 21:44:28 -05:00
Josh Soref f63ca4c737 Java 5: contains 2019-02-20 21:35:56 -05:00