commons-fileupload.git
21 months agoSlight optim: resuse the index position instead of recomputing it #49.
Gary Gregory [Sun, 20 Dec 2020 19:44:02 +0000 (14:44 -0500)] 
Slight optim: resuse the index position instead of recomputing it #49.

21 months agoUpdate FileUploadBase.java (#49)
Emmanuel Lécharny [Sun, 20 Dec 2020 19:42:35 +0000 (20:42 +0100)] 
Update FileUploadBase.java (#49)

22 months agoRemove redundant modifiers like public on interface members.
Gary Gregory [Sat, 21 Nov 2020 17:33:41 +0000 (12:33 -0500)] 
Remove redundant modifiers like public on interface members.

22 months agoUse diamonds.
Gary Gregory [Sat, 21 Nov 2020 15:55:56 +0000 (10:55 -0500)] 
Use diamonds.

22 months agoUse final.
Gary Gregory [Sat, 21 Nov 2020 03:10:01 +0000 (22:10 -0500)] 
Use final.

22 months agoNo need to initialize to default value.
Gary Gregory [Sat, 21 Nov 2020 02:33:18 +0000 (21:33 -0500)] 
No need to initialize to default value.

22 months agoTravis: Replace Java 14 with 15. No need for a PPC build. One Java 11
Gary Gregory [Sat, 21 Nov 2020 02:32:18 +0000 (21:32 -0500)] 
Travis: Replace Java 14 with 15. No need for a PPC build. One Java 11
build.

22 months agoRemove redundant calls to super().
Gary Gregory [Fri, 20 Nov 2020 22:57:27 +0000 (17:57 -0500)] 
Remove redundant calls to super().

22 months agoUse Arrays.fill(). Normalize spelling of 'Initialize'.
Gary Gregory [Fri, 20 Nov 2020 22:03:15 +0000 (17:03 -0500)] 
Use Arrays.fill(). Normalize spelling of 'Initialize'.

22 months agoMerge pull request #47 from apache/dependabot/maven/commons-io-commons-io-2.8.0
Jochen Wiedmann [Thu, 12 Nov 2020 21:36:39 +0000 (22:36 +0100)] 
Merge pull request #47 from apache/dependabot/maven/commons-io-commons-io-2.8.0

Bump commons-io from 2.7 to 2.8.0

22 months agoMerge pull request #46 from apache/dependabot/maven/org.junit.jupiter-junit-jupiter...
Jochen Wiedmann [Thu, 12 Nov 2020 21:36:00 +0000 (22:36 +0100)] 
Merge pull request #46 from apache/dependabot/maven/org.junit.jupiter-junit-jupiter-5.7.0

Bump junit-jupiter from 5.6.2 to 5.7.0

22 months agoBump commons-io from 2.7 to 2.8.0 47/head
dependabot[bot] [Fri, 6 Nov 2020 05:54:10 +0000 (05:54 +0000)] 
Bump commons-io from 2.7 to 2.8.0

Bumps commons-io from 2.7 to 2.8.0.

Signed-off-by: dependabot[bot] <support@github.com>
22 months agoBump junit-jupiter from 5.6.2 to 5.7.0 46/head
dependabot[bot] [Fri, 6 Nov 2020 05:54:03 +0000 (05:54 +0000)] 
Bump junit-jupiter from 5.6.2 to 5.7.0

Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.6.2 to 5.7.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.2...r5.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
22 months agoMerge pull request #35 from apache/dependabot/maven/org.apache.maven.plugins-maven...
Jochen Wiedmann [Thu, 5 Nov 2020 22:40:07 +0000 (23:40 +0100)] 
Merge pull request #35 from apache/dependabot/maven/org.apache.maven.plugins-maven-pmd-plugin-3.13.0

Bump maven-pmd-plugin from 3.12.0 to 3.13.0

22 months agoMerge pull request #42 from apache/dependabot/github_actions/actions/setup-java-v1.4.3
Jochen Wiedmann [Thu, 5 Nov 2020 22:39:46 +0000 (23:39 +0100)] 
Merge pull request #42 from apache/dependabot/github_actions/actions/setup-java-v1.4.3

Bump actions/setup-java from v1.4.2 to v1.4.3

22 months agoMerge pull request #44 from apache/dependabot/maven/biz.aQute.bnd-biz.aQute.bndlib...
Jochen Wiedmann [Thu, 5 Nov 2020 22:39:34 +0000 (23:39 +0100)] 
Merge pull request #44 from apache/dependabot/maven/biz.aQute.bnd-biz.aQute.bndlib-5.2.0

Bump biz.aQute.bndlib from 5.1.0 to 5.2.0

22 months agoMerge pull request #45 from apache/dependabot/github_actions/actions/checkout-v2.3.4
Jochen Wiedmann [Thu, 5 Nov 2020 22:39:06 +0000 (23:39 +0100)] 
Merge pull request #45 from apache/dependabot/github_actions/actions/checkout-v2.3.4

Bump actions/checkout from v2.3.2 to v2.3.4

22 months agoMerge pull request #29 from xenoamess-fork/patch-2
Jochen Wiedmann [Thu, 5 Nov 2020 22:38:31 +0000 (23:38 +0100)] 
Merge pull request #29 from xenoamess-fork/patch-2

fix travis-ci scripts

22 months agoMerge branch 'master' into patch-2 29/head
Jochen Wiedmann [Thu, 5 Nov 2020 22:38:07 +0000 (23:38 +0100)] 
Merge branch 'master' into patch-2

22 months agoMerge pull request #39 from apache/dependabot/maven/org.apache.commons-commons-parent-52
Jochen Wiedmann [Thu, 5 Nov 2020 22:36:38 +0000 (23:36 +0100)] 
Merge pull request #39 from apache/dependabot/maven/org.apache.commons-commons-parent-52

Bump commons-parent from 50 to 52

22 months agoMerge pull request #43 from apache/dependabot/maven/jakarta.servlet-jakarta.servlet...
Jochen Wiedmann [Thu, 5 Nov 2020 22:36:14 +0000 (23:36 +0100)] 
Merge pull request #43 from apache/dependabot/maven/jakarta.servlet-jakarta.servlet-api-5.0.0

Bump jakarta.servlet-api from 5.0.0-M1 to 5.0.0

22 months agoBump actions/checkout from v2.3.2 to v2.3.4 45/head
dependabot[bot] [Wed, 4 Nov 2020 05:56:45 +0000 (05:56 +0000)] 
Bump actions/checkout from v2.3.2 to v2.3.4

Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

Signed-off-by: dependabot[bot] <support@github.com>
23 months agoTypo.
Gary Gregory [Fri, 30 Oct 2020 13:35:31 +0000 (09:35 -0400)] 
Typo.

23 months agoAdd SECURITY.MD.
Gary Gregory [Sun, 25 Oct 2020 18:37:11 +0000 (14:37 -0400)] 
Add SECURITY.MD.

23 months agoBump biz.aQute.bndlib from 5.1.0 to 5.2.0 44/head
dependabot[bot] [Fri, 16 Oct 2020 06:01:15 +0000 (06:01 +0000)] 
Bump biz.aQute.bndlib from 5.1.0 to 5.2.0

Bumps [biz.aQute.bndlib](https://github.com/bndtools/bnd) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Changelog](https://github.com/bndtools/bnd/blob/master/docs/ADDING_RELEASE_DOCS.md)
- [Commits](https://github.com/bndtools/bnd/commits)

Signed-off-by: dependabot[bot] <support@github.com>
23 months agoBump jakarta.servlet-api from 5.0.0-M1 to 5.0.0 43/head
dependabot[bot] [Thu, 1 Oct 2020 06:02:47 +0000 (06:02 +0000)] 
Bump jakarta.servlet-api from 5.0.0-M1 to 5.0.0

Bumps [jakarta.servlet-api](https://github.com/eclipse-ee4j/servlet-api) from 5.0.0-M1 to 5.0.0.
- [Release notes](https://github.com/eclipse-ee4j/servlet-api/releases)
- [Commits](https://github.com/eclipse-ee4j/servlet-api/commits)

Signed-off-by: dependabot[bot] <support@github.com>
23 months agoBump actions/setup-java from v1.4.2 to v1.4.3 42/head
dependabot[bot] [Thu, 1 Oct 2020 06:01:22 +0000 (06:01 +0000)] 
Bump actions/setup-java from v1.4.2 to v1.4.3

Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1.4.2 to v1.4.3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1.4.2...d202f5dbf7256730fb690ec59f6381650114feb2)

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoReplace Java 14 with Java 15 as the latest Java version to test. Use
Gary Gregory [Sat, 19 Sep 2020 19:45:48 +0000 (15:45 -0400)] 
Replace Java 14 with Java 15 as the latest Java version to test. Use
Jaav 16 EA as the EA version to test.

2 years agoFix typos
Mark Thomas [Wed, 16 Sep 2020 16:49:20 +0000 (17:49 +0100)] 
Fix typos

2 years agoTrigger a GitHub build on pull requests.
Gary Gregory [Tue, 1 Sep 2020 01:24:37 +0000 (21:24 -0400)] 
Trigger a GitHub build on pull requests.

2 years agoMerge pull request #40 from apache/dependabot/github_actions/actions/setup-java-v1.4.2
Bruno P. Kinoshita [Wed, 26 Aug 2020 06:03:05 +0000 (18:03 +1200)] 
Merge pull request #40 from apache/dependabot/github_actions/actions/setup-java-v1.4.2

Bump actions/setup-java from v1.4.0 to v1.4.2

2 years agoBump actions/setup-java from v1.4.0 to v1.4.2 40/head
dependabot[bot] [Wed, 26 Aug 2020 05:56:42 +0000 (05:56 +0000)] 
Bump actions/setup-java from v1.4.0 to v1.4.2

Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1.4.0 to v1.4.2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1.4.0...8bb50d97d6b4d316daf284fdf8eafbfc988421fc)

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBump commons-parent from 50 to 52 39/head
dependabot[bot] [Wed, 12 Aug 2020 05:41:59 +0000 (05:41 +0000)] 
Bump commons-parent from 50 to 52

Bumps commons-parent from 50 to 52.

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #37 from apache/dependabot/maven/org.apache.maven.plugins-maven...
Bruno P. Kinoshita [Tue, 11 Aug 2020 06:42:46 +0000 (18:42 +1200)] 
Merge pull request #37 from apache/dependabot/maven/org.apache.maven.plugins-maven-checkstyle-plugin-3.1.1

Bump maven-checkstyle-plugin from 2.10 to 3.1.1

2 years agoBump maven-checkstyle-plugin from 2.10 to 3.1.1 37/head
dependabot[bot] [Tue, 11 Aug 2020 05:57:21 +0000 (05:57 +0000)] 
Bump maven-checkstyle-plugin from 2.10 to 3.1.1

Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 2.10 to 3.1.1.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-2.10...maven-checkstyle-plugin-3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoCache ~/.m2 dir for GitHub builds.
Gary Gregory [Tue, 11 Aug 2020 01:15:49 +0000 (21:15 -0400)] 
Cache ~/.m2 dir for GitHub builds.

2 years agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-fileupload.git
Gary Gregory [Mon, 10 Aug 2020 15:59:34 +0000 (11:59 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-fileupload.git

2 years agojunit-jupiter from 5.5.2 to 5.6.2 #31.
Gary Gregory [Mon, 10 Aug 2020 15:59:25 +0000 (11:59 -0400)] 
junit-jupiter from 5.5.2 to 5.6.2 #31.

2 years agoBump junit-jupiter from 5.5.2 to 5.6.2 (#31)
dependabot[bot] [Mon, 10 Aug 2020 15:58:01 +0000 (11:58 -0400)] 
Bump junit-jupiter from 5.5.2 to 5.6.2 (#31)

Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.5.2 to 5.6.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.5.2...r5.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years agoBump maven-pmd-plugin from 3.12.0 to 3.13.0 35/head
dependabot[bot] [Mon, 10 Aug 2020 15:50:13 +0000 (15:50 +0000)] 
Bump maven-pmd-plugin from 3.12.0 to 3.13.0

Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.12.0...maven-pmd-plugin-3.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #36 from apache/dependabot/github_actions/actions/checkout-v2.3.2
Bruno P. Kinoshita [Mon, 10 Aug 2020 09:48:17 +0000 (21:48 +1200)] 
Merge pull request #36 from apache/dependabot/github_actions/actions/checkout-v2.3.2

Bump actions/checkout from v2.3.1 to v2.3.2

2 years agoBump actions/checkout from v2.3.1 to v2.3.2 36/head
dependabot[bot] [Mon, 10 Aug 2020 06:09:11 +0000 (06:09 +0000)] 
Bump actions/checkout from v2.3.1 to v2.3.2

Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.1 to v2.3.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.1...2036a08e25fa78bbd946711a407b529a0a1204bf)

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoAdd --no-transfer-progress to CI builds.
Gary Gregory [Wed, 5 Aug 2020 13:33:02 +0000 (09:33 -0400)] 
Add --no-transfer-progress to CI builds.

Drop non-LTS builds except the latest and EA.

2 years agoMerge pull request #30 from apache/dependabot/github_actions/actions/checkout-v2.3.1
Bruno P. Kinoshita [Sun, 26 Jul 2020 21:55:06 +0000 (09:55 +1200)] 
Merge pull request #30 from apache/dependabot/github_actions/actions/checkout-v2.3.1

Bump actions/checkout from v1 to v2.3.1

2 years agoBump actions/checkout from v1 to v2.3.1 30/head
dependabot[bot] [Sun, 26 Jul 2020 21:47:23 +0000 (21:47 +0000)] 
Bump actions/checkout from v1 to v2.3.1

Bumps [actions/checkout](https://github.com/actions/checkout) from v1 to v2.3.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b)

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoGitHub actions/setup-java@v1 -> actions/setup-java@v1.4.0.
Gary Gregory [Sun, 26 Jul 2020 21:46:34 +0000 (17:46 -0400)] 
GitHub actions/setup-java@v1 -> actions/setup-java@v1.4.0.

2 years agoFix GitHub action for Java 15-ea.
Gary Gregory [Sun, 26 Jul 2020 21:24:02 +0000 (17:24 -0400)] 
Fix GitHub action for Java 15-ea.

2 years agoGitHub builds on Java 8, 11, and 14 (current), allow fails on 15-ea.
Gary Gregory [Thu, 23 Jul 2020 15:28:28 +0000 (11:28 -0400)] 
GitHub builds on Java 8, 11, and 14 (current), allow fails on 15-ea.

2 years agoAdd missing header.
Gary Gregory [Wed, 22 Jul 2020 14:29:00 +0000 (10:29 -0400)] 
Add missing header.

2 years agoEnable GitHub Dependabot.
Gary Gregory [Wed, 22 Jul 2020 14:17:13 +0000 (10:17 -0400)] 
Enable GitHub Dependabot.

2 years agoFix failing build instead of ignoring it.
Gary Gregory [Mon, 8 Jun 2020 20:13:34 +0000 (16:13 -0400)] 
Fix failing build instead of ignoring it.

2 years agofix travis-ci scripts
XenoAmess [Tue, 26 May 2020 04:30:45 +0000 (12:30 +0800)] 
fix travis-ci scripts

2 years agoTest major Java versions with GitHub actions as documented on
Gary Gregory [Sat, 30 May 2020 14:59:12 +0000 (10:59 -0400)] 
Test major Java versions with GitHub actions as documented on
https://github.com/actions/setup-java

2 years agoUpdate tests from commons-io:commons-io 2.6 to 2.7.
Gary Gregory [Thu, 28 May 2020 12:15:45 +0000 (08:15 -0400)] 
Update tests from commons-io:commons-io 2.6 to 2.7.

2 years agofix travis-ci scripts
XenoAmess [Tue, 26 May 2020 04:30:45 +0000 (12:30 +0800)] 
fix travis-ci scripts

2 years agoMerge in Github PR #24.
Jochen Wiedmann [Mon, 25 May 2020 19:28:55 +0000 (21:28 +0200)] 
Merge in Github PR #24.

2 years agoMerge branch 'rfc5987_compliance'
Jochen Wiedmann [Mon, 25 May 2020 19:15:54 +0000 (21:15 +0200)] 
Merge branch 'rfc5987_compliance'

2 years agoMerge branch 'update_commons_io_to_26'
Jochen Wiedmann [Mon, 25 May 2020 19:10:39 +0000 (21:10 +0200)] 
Merge branch 'update_commons_io_to_26'

2 years agoMinor Javadoc fixes.
Jochen Wiedmann [Mon, 25 May 2020 19:08:31 +0000 (21:08 +0200)] 
Minor Javadoc fixes.

2 years agofix typo 28/head
XenoAmess [Mon, 25 May 2020 17:44:08 +0000 (01:44 +0800)] 
fix typo

2 years agoUpdate commons-io dependency 27/head
Thiago Henrique Hüpner [Sun, 17 May 2020 14:44:08 +0000 (11:44 -0300)] 
Update commons-io dependency

2 years agoChangelog update.
Jochen Wiedmann [Mon, 4 May 2020 20:15:45 +0000 (22:15 +0200)] 
Changelog update.

2 years agoDocumenting a possible incompatibility in a try...catch statement.
Jochen Wiedmann [Mon, 4 May 2020 20:13:28 +0000 (22:13 +0200)] 
Documenting a possible incompatibility in a try...catch statement.

2 years agoMinor API simplification by making FileUploadException a subclass of
Jochen Wiedmann [Mon, 4 May 2020 20:03:49 +0000 (22:03 +0200)] 
Minor API simplification by making FileUploadException a subclass of
IOException.

2 years agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-fileupload
Jochen Wiedmann [Mon, 4 May 2020 19:55:26 +0000 (21:55 +0200)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-fileupload

2 years agoUpdating the using document to reflect the support for Jakarta Servlet API.
Jochen Wiedmann [Mon, 4 May 2020 19:38:15 +0000 (21:38 +0200)] 
Updating the using document to reflect the support for Jakarta Servlet API.

2 years agoAdding minimal documentation for the org.apache.commons.fileupload2 package.
Jochen Wiedmann [Mon, 4 May 2020 19:38:15 +0000 (21:38 +0200)] 
Adding minimal documentation for the org.apache.commons.fileupload2 package.

2 years agoAdd the package org.apache.fileupload2.jaksrvlt,
Jochen Wiedmann [Mon, 4 May 2020 12:07:37 +0000 (14:07 +0200)] 
Add the package org.apache.fileupload2.jaksrvlt,
for compliance with Jakarta Servlet API 5.0.
(See https://github.com/apache/commons-fileupload/pull/25.)

2 years agoAdd openjdk14 to Travis.
Gary Gregory [Wed, 15 Apr 2020 13:37:21 +0000 (09:37 -0400)] 
Add openjdk14 to Travis.

2 years agoStandardize on American English spelling of 'behavior'.
Gary Gregory [Mon, 30 Mar 2020 15:21:32 +0000 (11:21 -0400)] 
Standardize on American English spelling of 'behavior'.

2 years agoDetect asterisk only if is at end & added tests 24/head
Merbin J Anselm [Tue, 10 Dec 2019 06:30:25 +0000 (12:00 +0530)] 
Detect asterisk only if is at end & added tests

2 years agoAdded support for RFC 5987 aka RFC 2231
Merbin J Anselm [Mon, 9 Dec 2019 12:06:57 +0000 (17:36 +0530)] 
Added support for RFC 5987 aka RFC 2231

2 years agoUse Objects.requireNonNull() instead of custom check. Minor formatting.
Gary Gregory [Thu, 26 Dec 2019 01:51:33 +0000 (20:51 -0500)] 
Use Objects.requireNonNull() instead of custom check. Minor formatting.

2 years agoRemove trailing white spaces on all lines.
Gary Gregory [Wed, 18 Dec 2019 20:29:59 +0000 (15:29 -0500)] 
Remove trailing white spaces on all lines.

2 years agoJavadoc: Replace <code></code> HTML tags with Javadoc {@code} notation.
Gary Gregory [Tue, 10 Dec 2019 15:47:35 +0000 (10:47 -0500)] 
Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation.

2 years agoFILEUPLOAD-302: JUnit Jupiter migration (#23)
Allon Murienik [Mon, 7 Oct 2019 13:28:36 +0000 (16:28 +0300)] 
FILEUPLOAD-302: JUnit Jupiter migration (#23)

* FILEUPLOAD-302 Remove junit.framework.TestCase dependency

junit.framework.TestCase was introduced in JUnit 3, and while it
isn't technically deprecated, it's outdated, and should not be used
in JUnit 4.

This patch removes its usage in the project, and replaces it with
static imports from org.junit.Assert, as per JUnit 4's best
practices.

In addition, `@Test` annotations were added to the test methods, so
they are recognized as tests by JUnit 4.

* FILEUPLOAD-302 JUnit Jupiter migration

This patch upgrades the project's testing framework from JUnit 4.12
to the modern JUnit Jupiter 5.5.2.

Since JUnit 5 Jupiter is not backwards compatible to JUnit 4.x (or
even JUnit Vintage), this patch is a bit large, even though a lot of
the changes are merely cosmetic (such as changing the argument order,
see details below). In order to make the reviewer's task as easy as
possible, this PR does not presume to use JUnit Jupiter's best
practices and all its new functionality, but only to migrate the
existing tests with as little change as possible. Following patches
may want to improve the tests by using some of JUnit Jupiter's new
features.

This patch includes the following changes:

1. Maven dependency changes:
 a. junit:junit was replaced with org.junit.jupiter:junit-jupiter.

2. Annotations:
 a. org.junit.jupiter.api.Test was used as a drop in replacement for
    org.juit.Test without arguments. See 3.ii. for handling of @Test
    annotations with an "expected" argument.
 b. org.junit.jupiter.api.BeforeEach was used as an drop in
    replacement for org.junit.Before.
 c. org.junit.jupiter.api.AfterEach was used as an drop in
    replacement for org.junit.After.

3. Assertions:
 a. org.junit.jupiter.api.Assertions' methods were used as drop in
    replacements for org.junit.Assert's methods with the same name in
    the simple case of an assertion without a message. In the case of
    an assertion with a message, org.junit.jupiter.api.Assertions'
    methods were used, but the argument order was changed - Assert's
    methods take the message as the first argument, while Assertions'
    methods take the message as the last argument.
 b. org.junit.jupiter.api.Assertions#assertThrows was used to assert
    that a specific exception was throws instead of an org.junit.Test
    annotation with an expected argument. As a side bonus, this
    change makes the tests slightly stricter, as now they can assert
    the exception was thrown from a specific line and prevent false
    positives where the test's "set-up" code accidentally threw that
    exception.

4. Parameterized tests:
 a. FileUploadTest was rewritten with @ParameterizedTests and
    @MethodSource in order to gain an equivalent functionality of
    JUnit 4's Parameterized runner.

3 years agoPR: FILEUPLOAD-300
Jochen Wiedmann [Mon, 23 Sep 2019 13:40:41 +0000 (15:40 +0200)] 
PR: FILEUPLOAD-300

Moved exception classes to impl package.

3 years agoPR: FILEUPLOAD-300
Jochen Wiedmann [Mon, 23 Sep 2019 13:31:00 +0000 (15:31 +0200)] 
PR: FILEUPLOAD-300

Move FileItemIteratorImpl class to item package.

3 years agoPR: FILEUPLOAD-300
Jochen Wiedmann [Mon, 23 Sep 2019 13:22:48 +0000 (15:22 +0200)] 
PR: FILEUPLOAD-300

Move FileItemStreamImpl class out of FileUploadBase to the impl
package.

3 years agoPR: FILEUPLOAD-300
Jochen Wiedmann [Mon, 23 Sep 2019 13:15:17 +0000 (15:15 +0200)] 
PR: FILEUPLOAD-300

Making FileItemIteratorImpl, and FileItemStreamImpl static, as a
preparation for moving them out.

3 years agoCall super.finalize() in a finalize() implementation. (As suggested by
jwi [Mon, 17 Jun 2019 07:52:30 +0000 (09:52 +0200)] 
Call super.finalize() in a finalize() implementation. (As suggested by
Fortify static code analysis.)

3 years agogit-wip-us => gitbox
Sebb [Fri, 16 Aug 2019 17:34:38 +0000 (18:34 +0100)] 
git-wip-us => gitbox

3 years agoDrop Oracle JDK 8, add OpenJDK 13.
Gary Gregory [Wed, 14 Aug 2019 20:25:54 +0000 (13:25 -0700)] 
Drop Oracle JDK 8, add OpenJDK 13.

3 years agoAdding power support (#20)
lysannef [Mon, 5 Aug 2019 12:54:43 +0000 (18:24 +0530)] 
Adding power support (#20)

Signed-off-by: lysannef <lysannef@us.ibm.com>
3 years agoRemove JDK 1.7 as the project source code is 1.8.
aherbert [Wed, 24 Jul 2019 10:30:10 +0000 (11:30 +0100)] 
Remove JDK 1.7 as the project source code is 1.8.

3 years agoFix the site's source repository link.
Gary Gregory [Sun, 21 Jul 2019 20:52:14 +0000 (16:52 -0400)] 
Fix the site's source repository link.

3 years agoFix the site's source repository link.
Gary Gregory [Sun, 21 Jul 2019 00:45:12 +0000 (20:45 -0400)] 
Fix the site's source repository link.

3 years agoReplace Apache HTTP URL with HTTPS version.
Gary Gregory [Sun, 7 Jul 2019 14:32:19 +0000 (10:32 -0400)] 
Replace Apache HTTP URL with HTTPS version.

3 years agoUse HTTPS to access Apache resources.
Gary Gregory [Sun, 7 Jul 2019 01:00:59 +0000 (21:00 -0400)] 
Use HTTPS to access Apache resources.

3 years agoUse HTTPS to access Apache resources.
Gary Gregory [Sun, 7 Jul 2019 00:44:02 +0000 (20:44 -0400)] 
Use HTTPS to access Apache resources.

3 years agoUse HTTPS links to Apache.
Gary Gregory [Thu, 4 Jul 2019 14:17:27 +0000 (10:17 -0400)] 
Use HTTPS links to Apache.

3 years agoName "Apache Commons" in page title.
Gary Gregory [Thu, 6 Jun 2019 14:04:00 +0000 (10:04 -0400)] 
Name "Apache Commons" in page title.

3 years agoJavadoc: Use "file name" instead of "filename".
Gary Gregory [Thu, 30 May 2019 19:19:48 +0000 (15:19 -0400)] 
Javadoc: Use "file name" instead of "filename".

3 years agoJavadoc: Use "file system" instead of "filesystem".
Gary Gregory [Thu, 30 May 2019 17:53:54 +0000 (13:53 -0400)] 
Javadoc: Use "file system" instead of "filesystem".

3 years agoUpdate NOTICE file for 2019.
Gary Gregory [Thu, 16 May 2019 18:06:42 +0000 (14:06 -0400)] 
Update NOTICE file for 2019.

3 years agoFix SpotBugs warning
Mark Thomas [Fri, 3 May 2019 17:43:12 +0000 (18:43 +0100)] 
Fix SpotBugs warning

3 years agoFix typos. No functional change.
Mark Thomas [Fri, 3 May 2019 16:24:06 +0000 (17:24 +0100)] 
Fix typos. No functional change.

3 years agoUpdate maven-pmd-plugin from 3.11.0 to 3.12.0.
Gary Gregory [Wed, 24 Apr 2019 17:02:08 +0000 (13:02 -0400)] 
Update maven-pmd-plugin from 3.11.0 to 3.12.0.

3 years agoAdd OpenJDK 12 to Travis builds.
Gary Gregory [Tue, 16 Apr 2019 13:16:08 +0000 (09:16 -0400)] 
Add OpenJDK 12 to Travis builds.

3 years agoUpdate Apache Commons Parent from 47 to 48. Update PMD.
Gary Gregory [Tue, 26 Mar 2019 00:27:51 +0000 (20:27 -0400)] 
Update Apache Commons Parent from 47 to 48. Update PMD.