olivier lamy
a376fa2ca4
remove Digester from core
...
Signed-off-by: olivier lamy <olamy@apache.org >
2021-06-02 08:13:49 +10:00
Daniel Beck and Daniel Beck
09c269b0a2
Remove Arabic and Portuguese translations ( #5518 )
...
* Remove Arabic and Portuguese translations
* Fix test
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com >
2021-06-01 07:21:22 +02:00
Basil Crow
9f9ed7b60d
Fix BadImport Error Prone violations ( #5510 )
...
* Fix `BadImport` Error Prone violations
* Fix Javadoc
2021-06-01 13:02:48 +08:00
Basil Crow and Daniel Beck
7f382b576e
Fix CatchAndPrintStackTrace, CatchFail, and EmptyCatch Error Prone violations in tests ( #5522 )
...
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
2021-05-25 20:51:14 +01:00
Basil Crow
52acfa962f
Remove usages of deprecated (in Java 9 and above) Class#newInstance ( #5483 )
...
* Remove usages of deprecated (in Java 9 and above) `Class#newInstance`
* Improve catching of InvocationTargetException
* Use AssertionError where appropriate
2021-05-16 07:27:32 +02:00
Basil Crow
3515c7a4e8
Remove Guava test library ( #5468 )
2021-05-11 08:12:09 +01:00
Oleg Nenashev
22fcc54bd3
Merge pull request #5451 from basil/checkstyle
...
Enable `AnnotationUseStyle`, `AvoidNoArgumentSuperConstructorCall`, and `NoEnumTrailingComma` Checkstyle checks
2021-05-10 11:40:54 +02:00
Oleg Nenashev
85eed765e1
Merge pull request #5469 from basil/endWithNewline
...
Ensure files end with a newline with Spotless rather than Checkstyle
2021-05-10 11:40:39 +02:00
Basil Crow
c904989067
Deprecate Util#join(Collection, String) in favor of String#join(CharSequence, Iterable) ( #5467 )
2021-05-09 08:08:59 +01:00
Basil Crow
56216ba477
Ensure files end with a newline with Spotless rather than Checkstyle
2021-05-07 19:56:27 -07:00
Tim Jacomb
c754339734
Merge pull request #5438 from basil/checkstyle-tests
2021-05-07 21:07:03 +01:00
Stefan Spieker
f1867892fd
removed unused import
2021-05-02 09:38:41 +02:00
Stefan Spieker
afd748142e
removed superfluous throws in tests
2021-05-02 00:16:50 +02:00
Basil Crow
a464cf85a4
Enable AnnotationUseStyle Checkstyle check
2021-04-28 08:31:30 -07:00
Basil Crow
95e85495ca
Enable AvoidStarImport Checkstyle check ( #5420 )
2021-04-28 17:28:39 +08:00
Basil Crow
f6378676b1
Add missing @Override annotations ( #5430 )
2021-04-28 17:28:25 +08:00
Basil Crow
8d164663c4
[JENKINS-52356] Support ZIP64 in ZipArchiver ( #5435 )
...
* [JENKINS-52356] Support ZIP64 in ZipArchiver
* Fix resource leak
2021-04-24 10:59:11 +02:00
Basil Crow
5c4701eb83
Fix RedundantModifier Checkstyle violations in tests
2021-04-19 14:21:31 -07:00
Basil Crow
7268f7a073
Fix IllegalImport Checkstyle violation in tests
2021-04-19 14:21:31 -07:00
Basil Crow
2428e0c3b3
Fix OneStatementPerLine Checkstyle violations in tests
2021-04-19 14:21:31 -07:00
Basil Crow
08af6df395
Fix OneTopLevelClass Checkstyle violation in tests
2021-04-19 14:21:31 -07:00
Basil Crow
d84bc82979
Fix NewlineAtEndOfFile Checkstyle violations in tests
2021-04-19 14:21:31 -07:00
Oleg Nenashev
0fd55bd6b5
Merge pull request #5419 from basil/subtypes
...
Use declaring class as qualifier
2021-04-19 22:54:17 +02:00
Oleg Nenashev
8f14137c63
Merge pull request #5432 from daniel-beck/jira-references
...
Update Jira references from HUDSON to JENKINS
2021-04-19 22:52:19 +02:00
Daniel Beck
5479432ee7
Update Jira references from HUDSON to JENKINS
2021-04-17 23:27:58 +02:00
Basil Crow
10d8245064
Remove unused imports
2021-04-14 18:15:43 -07:00
Basil Crow
583ba94524
Change indirect accesses to static members to direct accesses (accesses through subtypes)
2021-04-14 17:36:23 -07:00
Basil Crow
30f61ce7d6
Reduce usages of com.google.common.collect in tests
2021-04-14 15:47:48 -07:00
Stefan Spieker
364c8ac6fb
fixed some deprecation warnings
2021-04-04 19:47:51 +02:00
James Nord
c4e0291c50
[JENKINS-56934] fix the 'new view' link to correctly work with folders ( #5377 )
...
* [JENKINS-56934] fix the 'new view' link to correctly work with folders
* [JENKINS-56934] check permission on the correct item
* [JENKINS-56934] update and simplify the test
* [JENKINS-56934] check the owner is modifiable and refactor
* [JENKINS-56934] correct unit test, and add new test for non modifiable owner
2021-04-03 21:21:42 +02:00
Basil Crow
3f53051b0b
Test cleanup ( #5357 )
2021-03-16 08:14:11 +00:00
Basil Crow
44c5342c58
Declare modifiers in JLS order ( #5339 )
2021-03-08 07:58:59 +00:00
Basil Crow
9cf3f73abd
Clean up JUnit assertions ( #5314 )
2021-03-02 08:17:27 +00:00
Oleg Nenashev
1904cbb8b9
Merge pull request #5312 from basil/historyPageFilterTest
...
Replace usages of deprecated jenkins.widgets.HistoryPageFilter.add(java.util.List) with non-deprecated jenkins.widgets.HistoryPageFilter.add(Iterable)
2021-03-01 13:24:23 +01:00
Basil Crow
7fb2511ee8
Use native Java functionality rather than Guava's Lists#newArrayList, Maps#newHashMap, and Sets#newHashSet where possible
2021-02-25 17:02:24 -08:00
Basil Crow
aec16fd755
Replace usages of deprecated jenkins.widgets.HistoryPageFilter.add(java.util.List) with non-deprecated jenkins.widgets.HistoryPageFilter.add(Iterable)
2021-02-25 16:36:57 -08:00
1648295304
[JENKINS-64107] Convert SSHD module to a plugin ( #5049 )
...
Co-authored-by: Jesse Glick <jglick@cloudbees.com >
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com >
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com >
2021-02-25 21:05:23 +00:00
Wadeck Follonier
38ce5ce7cd
Merge back security tests ( #5288 )
2021-02-21 20:30:53 +00:00
eeac80127b
Clean up some Deprecation warnings ( #4407 )
...
Co-authored-by: Jesse Glick <jglick@cloudbees.com >
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com >
2021-02-06 09:04:27 +00:00
Wadeck Follonier
ecf3095362
[JENKINS-64621] Fix zip regression ( #5187 )
2021-01-19 09:11:30 +00:00
Tim Jacomb
ab5d044dcc
Fix tests on newer java versions ( #5182 )
2021-01-18 16:04:12 +00:00
StefanSpieker and Basil Crow
576eac39ae
Fixed some deprecated warnings of mockito methods and minor cleanup ( #5170 )
...
* fixed some deprecated warnings of mockito methods and minor cleanup
* Update core/src/test/java/hudson/cli/handlers/ViewOptionHandlerTest.java
Co-authored-by: Basil Crow <me@basilcrow.com >
* store autoclosable mock and close it in tear_down method
* store autoclosable mock and close it in tear_down method
Co-authored-by: Basil Crow <me@basilcrow.com >
2021-01-17 14:55:18 +01:00
Tim Jacomb
d6725e80f8
Ignore security test that fails in CI ( #5178 )
2021-01-17 09:03:05 +00:00
Jeff Thompson
71d2ecf1a4
[SECURITY-1452]
2021-01-11 16:53:00 +00:00
Daniel Beck
b1ca284966
[SECURITY-2147]
2021-01-11 16:52:29 +00:00
Daniel Beck
a890d68699
[SECURITY-2025]
2021-01-11 16:50:58 +00:00
Oleg Nenashev
d69a9dd75f
Merge pull request #5146 from StefanSpieker/deprecated_line_separator
...
Replaced deprecated IOUtils.LINE_SEPARATOR with System.lineSeparator()
2021-01-05 07:53:30 +01:00
Oleg Nenashev
d6d098eb96
Merge pull request #5147 from StefanSpieker/minor_spotbugs
...
Minor spotbugs issues
2021-01-05 07:49:01 +01:00
Stefan Spieker
5fb8f1278d
removed superflous import
2020-12-31 16:08:31 +01:00
Stefan Spieker
63c0ae46db
fixed SpotBugs DMI_RANDOM_USED_ONLY_ONCE
2020-12-31 16:05:26 +01:00