You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gi...@apache.org on 2023/04/10 23:12:23 UTC
[commons-fileupload] branch dependabot/maven/org.moditect-moditect-maven-plugin-1.0.0.RC3 updated (3f2177f -> 0ef70b8)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch dependabot/maven/org.moditect-moditect-maven-plugin-1.0.0.RC3
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
discard 3f2177f Bump moditect-maven-plugin from 1.0.0.RC2 to 1.0.0.RC3
add 383243c Bump actions/cache from 3.2.6 to 3.3.0 (#205)
add 9111714 Bump actions/cache from 3.3.0 to 3.3.1 (#207)
add 019016e Bump actions/checkout from 3.3.0 to 3.4.0 (#208)
add 7502e30 Bump actions/setup-java from 3.9.0 to 3.10.0 (#202)
add 179bb7b Bump actions/checkout from 3.4.0 to 3.5.0 (#209)
add 3de0bfe Bump ossf/scorecard-action from 2.1.2 to 2.1.3 (#211)
add 1457bee Bump actions/setup-java from 3.10.0 to 3.11.0 (#210)
add bd3f130 Sort members
add c1cadad Better parameter name
add ae6e903 Propagate exception cause
add 355d264 Rework exceptions to use propagated exception causes (introduced in Java 1.4)
add 54a850b Remove deprecated fields, methods, and constructors
add 86a7e59 Organize imports
add 90de20c Fix Javadoc warning
add 786d994 Remove unused exceptions from test method signature
add 4281920 Reuse Apache Commons Lang for testing
add 3ee89c5 Fix method name
add 78ffb0a Remove noisy inline comments
add bc597d6 Replace org.apache.commons.fileupload2.util.mime.Base64Decoder with java.util.Base64
add 5c1c9d1 Reuse java.io.Closeable instead of custom Closeable
add 4b3ea58 Fix indentation
add 8a0a6b1 Remove unused methods
add f0c1150 Use try-with-resources
add 7410e99 Inline single use variable
add 3166c80 Javadoc
add f4a8da6 Javadoc and format tweaks
add 10eeaf3 Refactor magic string
add 280ffac Move utility method
add 7d065cc Better exception handling
add f885ac5 Reuse FileUtils.getTempDirectory()
add e40a6e2 Javadoc
add d254881 Javadoc
add 76e1e8e Fail fast when a repository contains a null character.
add 3b72d3c serialVersionUID is 2 for 2.0.0
add 0324d01 Pull up method into super-interface and remove per Javadoc
add 56de94f Revert test change
add 5098dff Normalize parameter names
add b717222 Use assertThrows or propagate exceptions out of test methods
add f409d05 Use try-wiht-resources
add 301e773 Better class name
add 0cfcef8 No static import in main
add 266798a No static import in main
add f66b6cd Whitespace
add 707bbc9 Use final
add a720d1b Use &&
add 116f055 Whitespace
add d0c1e27 Track exception cause
add a655e14 Refactor common code
add 5342e2a Refactor commons code
add 0b4516e Don't import String.format() statically
add 3195578 Fix grammar, spelling, wording
add 0ef70b8 Bump moditect-maven-plugin from 1.0.0.RC2 to 1.0.0.RC3
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (3f2177f)
\
N -- N -- N refs/heads/dependabot/maven/org.moditect-moditect-maven-plugin-1.0.0.RC3 (0ef70b8)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/codeql-analysis.yml | 4 +-
.github/workflows/coverage.yml | 6 +-
.github/workflows/maven.yml | 6 +-
.github/workflows/scorecards-analysis.yml | 4 +-
pom.xml | 36 +-
src/changes/changes.xml | 16 +
src/checkstyle/fileupload_checks.xml | 3 +-
...FileUploadBase.java => AbstractFileUpload.java} | 666 ++++------
.../fileupload2/AbstractRequestContext.java | 72 ++
.../org/apache/commons/fileupload2/FileItem.java | 185 ++-
.../commons/fileupload2/FileItemFactory.java | 23 +-
.../commons/fileupload2/FileItemHeaders.java | 48 +-
.../fileupload2/FileItemHeadersSupport.java | 8 +-
.../commons/fileupload2/FileItemIterator.java | 74 +-
.../apache/commons/fileupload2/FileItemStream.java | 62 +-
.../org/apache/commons/fileupload2/FileUpload.java | 11 +-
.../commons/fileupload2/FileUploadException.java | 77 +-
.../fileupload2/InvalidFileNameException.java | 18 +-
.../commons/fileupload2/MultipartStream.java | 1327 +++++++++-----------
.../commons/fileupload2/ParameterParser.java | 265 ++--
.../commons/fileupload2/ProgressListener.java | 14 +-
.../apache/commons/fileupload2/RequestContext.java | 29 +-
.../apache/commons/fileupload2/UploadContext.java | 39 -
.../commons/fileupload2/disk/DiskFileItem.java | 565 +++++----
.../fileupload2/disk/DiskFileItemFactory.java | 166 ++-
.../fileupload2/impl/FileItemIteratorImpl.java | 280 ++---
.../fileupload2/impl/FileItemStreamImpl.java | 154 +--
.../fileupload2/jaksrvlt/JakSrvltFileCleaner.java | 41 +-
.../fileupload2/jaksrvlt/JakSrvltFileUpload.java | 76 +-
.../jaksrvlt/JakSrvltRequestContext.java | 67 +-
.../fileupload2/portlet/PortletFileUpload.java | 73 +-
.../fileupload2/portlet/PortletRequestContext.java | 67 +-
.../pub/FileCountLimitExceededException.java | 53 -
...java => FileUploadByteCountLimitException.java} | 58 +-
...on.java => FileUploadContentTypeException.java} | 39 +-
.../FileUploadFileCountLimitException.java} | 26 +-
.../fileupload2/pub/FileUploadIOException.java | 62 -
...Exception.java => FileUploadSizeException.java} | 29 +-
.../fileupload2/pub/IOFileUploadException.java | 61 -
.../pub/SizeLimitExceededException.java | 43 -
.../fileupload2/servlet/FileCleanerCleanup.java | 42 +-
.../fileupload2/servlet/ServletFileUpload.java | 78 +-
.../fileupload2/servlet/ServletRequestContext.java | 67 +-
.../fileupload2/util/FileItemHeadersImpl.java | 39 +-
.../fileupload2/util/LimitedInputStream.java | 81 +-
.../apache/commons/fileupload2/util/Streams.java | 186 ---
.../fileupload2/util/mime/Base64Decoder.java | 151 ---
.../commons/fileupload2/util/mime/MimeUtility.java | 21 +-
.../fileupload2/util/mime/ParseException.java | 2 +-
.../util/mime/QuotedPrintableDecoder.java | 18 +-
.../fileupload2/util/mime/RFC2231Utility.java | 81 +-
src/site/xdoc/security-reports.xml | 34 +-
.../fileupload2/DiskFileItemSerializeTest.java | 271 ++--
.../apache/commons/fileupload2/FileUploadTest.java | 313 +++--
.../fileupload2/HttpServletRequestFactory.java | 16 +-
.../fileupload2/MockHttpServletRequest.java | 390 +++---
.../commons/fileupload2/MultipartStreamTest.java | 30 +-
.../commons/fileupload2/ParameterParserTest.java | 106 +-
.../commons/fileupload2/ProgressListenerTest.java | 84 +-
.../org/apache/commons/fileupload2/SizesTest.java | 148 ++-
.../apache/commons/fileupload2/StreamingTest.java | 250 ++--
.../java/org/apache/commons/fileupload2/Util.java | 23 +-
.../jaksrvlt/JakSrvltFileUploadTest.java | 50 +-
.../jaksrvlt/MockJakSrvltHttpRequest.java | 517 ++++----
.../portlet/MockPortletActionRequest.java | 54 +-
.../fileupload2/portlet/PortletFileUploadTest.java | 10 +-
.../fileupload2/servlet/ServletFileUploadTest.java | 46 +-
.../util/mime/Base64DecoderTestCase.java | 164 ---
.../fileupload2/util/mime/MimeUtilityTestCase.java | 28 +-
.../util/mime/QuotedPrintableDecoderTestCase.java | 90 +-
.../util/mime/RFC2231UtilityTestCase.java | 50 +-
71 files changed, 3429 insertions(+), 4864 deletions(-)
rename src/main/java/org/apache/commons/fileupload2/{FileUploadBase.java => AbstractFileUpload.java} (65%)
create mode 100644 src/main/java/org/apache/commons/fileupload2/AbstractRequestContext.java
delete mode 100644 src/main/java/org/apache/commons/fileupload2/UploadContext.java
delete mode 100644 src/main/java/org/apache/commons/fileupload2/pub/FileCountLimitExceededException.java
rename src/main/java/org/apache/commons/fileupload2/pub/{FileSizeLimitExceededException.java => FileUploadByteCountLimitException.java} (51%)
rename src/main/java/org/apache/commons/fileupload2/pub/{InvalidContentTypeException.java => FileUploadContentTypeException.java} (51%)
rename src/main/java/org/apache/commons/fileupload2/{util/Closeable.java => pub/FileUploadFileCountLimitException.java} (56%)
delete mode 100644 src/main/java/org/apache/commons/fileupload2/pub/FileUploadIOException.java
rename src/main/java/org/apache/commons/fileupload2/pub/{SizeException.java => FileUploadSizeException.java} (65%)
delete mode 100644 src/main/java/org/apache/commons/fileupload2/pub/IOFileUploadException.java
delete mode 100644 src/main/java/org/apache/commons/fileupload2/pub/SizeLimitExceededException.java
delete mode 100644 src/main/java/org/apache/commons/fileupload2/util/Streams.java
delete mode 100644 src/main/java/org/apache/commons/fileupload2/util/mime/Base64Decoder.java
delete mode 100644 src/test/java/org/apache/commons/fileupload2/util/mime/Base64DecoderTestCase.java