Accepting request 1171383 from Java:packages
2.16.1 OBS-URL: https://build.opensuse.org/request/show/1171383 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-io?expand=0&rev=22
This commit is contained in:
commit
2508d0e624
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<property name="project.groupId" value="commons-io"/>
|
<property name="project.groupId" value="commons-io"/>
|
||||||
<property name="project.artifactId" value="commons-io"/>
|
<property name="project.artifactId" value="commons-io"/>
|
||||||
<property name="project.version" value="2.15.1"/>
|
<property name="project.version" value="2.16.1"/>
|
||||||
<property name="project.name" value="Apache Commons IO"/>
|
<property name="project.name" value="Apache Commons IO"/>
|
||||||
<property name="project.description" value="The Apache Commons IO library
|
<property name="project.description" value="The Apache Commons IO library
|
||||||
contains utility classes, stream implementations, file filters,
|
contains utility classes, stream implementations, file filters,
|
||||||
|
@ -1,3 +1,174 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 29 13:12:59 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to 2.16.1
|
||||||
|
* Fixes:
|
||||||
|
+ Reimplement FileSystemUtils using NIO.
|
||||||
|
+ FileSystemUtils no longer throws IllegalStateException. Fixes
|
||||||
|
IO-851.
|
||||||
|
+ Avoid possible NullPointerException in
|
||||||
|
FileUtils.listAccumulate(File, IOFileFilter, IOFileFilter,
|
||||||
|
FileVisitOption...).
|
||||||
|
+ BoundedInputStream.reset() not updating count. Fixes IO-853.
|
||||||
|
+ ThresholdingOutputStream: a negative threshold should behave
|
||||||
|
like a zero threshold and trigger the event on the first
|
||||||
|
write #609. Fixes IO-854.
|
||||||
|
* Updates:
|
||||||
|
+ Bump commons.bytebuddy.version from 1.14.12 to 1.14.13 #605.
|
||||||
|
+ Bump org.apache.commons:commons-parent from 67 to 69 #608.
|
||||||
|
- Update apache-commons-io-build.xml for new version
|
||||||
|
- Includes changes from 2.16.0
|
||||||
|
* Fixes:
|
||||||
|
+ Fix and re-enable testSkip_RequiredCharsets #518.
|
||||||
|
+ SymbolicLineFileFilter documentation fixes. Fixes IO-824.
|
||||||
|
+ CharSequenceInputStream.reset() only works once #520. Fixes
|
||||||
|
IO-795.
|
||||||
|
+ Finish TODO on CharSequenceInputStream #540. Fixes IO-795.
|
||||||
|
+ Add byte array size validation for methods in EndianUtils
|
||||||
|
#521. Fixes IO-825.
|
||||||
|
+ Add missing test case CircularByteBufferTest. Fixes IO-825.
|
||||||
|
+ Make CharSequenceInputStream.available() more correct in the
|
||||||
|
face of multibyte encodings #525. Fixes IO-781.
|
||||||
|
+ Remove unreachable code in AbstractIOFileFilterTest #526.
|
||||||
|
Fixes IO-781.
|
||||||
|
+ Rationalize and unify checking for existence of files and
|
||||||
|
directories #529. Fixes IO-808.
|
||||||
|
+ Avoid NullPointerException in IOCase.checkEquals(String,
|
||||||
|
String) on null input.
|
||||||
|
+ Avoid NullPointerException in
|
||||||
|
CanExecuteFileFilter.accept(File) on null input.
|
||||||
|
+ Avoid NullPointerException in
|
||||||
|
CanExecuteFileFilter.accept(Path, BasicFileAttributes) on
|
||||||
|
null input.
|
||||||
|
+ Avoid NullPointerException in CanReadFileFilter.accept(File)
|
||||||
|
on null input.
|
||||||
|
+ Avoid NullPointerException in CanReadFileFilter.accept(Path,
|
||||||
|
BasicFileAttributes) on null input.
|
||||||
|
+ Avoid NullPointerException in CanWriteFileFilter.accept(File)
|
||||||
|
on null input.
|
||||||
|
+ Avoid NullPointerException in CanWriteFileFilter.accept(Path,
|
||||||
|
BasicFileAttributes) on null input.
|
||||||
|
+ Avoid NullPointerException in
|
||||||
|
DirectoryFileFilter.accept(File) on null input.
|
||||||
|
+ Avoid NullPointerException in
|
||||||
|
DirectoryFileFilter.accept(Path, BasicFileAttributes) on null
|
||||||
|
input.
|
||||||
|
+ Avoid NullPointerException in EmptyFileFilter.accept(File) on
|
||||||
|
null input.
|
||||||
|
+ Avoid NullPointerException in EmptyFileFilter.accept(Path,
|
||||||
|
BasicFileAttributes) on null input.
|
||||||
|
+ Avoid NullPointerException in FileFileFilter.accept(File) on
|
||||||
|
null input.
|
||||||
|
+ Avoid NullPointerException in FileFileFilter.accept(Path,
|
||||||
|
BasicFileAttributes) on null input.
|
||||||
|
+ Avoid NullPointerException in HiddenFileFilter.accept(File)
|
||||||
|
on null input.
|
||||||
|
+ Avoid NullPointerException in HiddenFileFilter.accept(Path,
|
||||||
|
BasicFileAttributes) on null input.
|
||||||
|
+ Avoid NullPointerException in IOCase.checkIndexOf(String,
|
||||||
|
int, String) on null input.
|
||||||
|
+ Avoid NullPointerException in
|
||||||
|
IOCase.checkRegionMatches(String, int, String) on null input.
|
||||||
|
+ BoundedInputStream.getCount() should not count EOF.
|
||||||
|
+ Modernize temporary file creation and deletion in
|
||||||
|
DeferredFileOutputStreamTest #535.
|
||||||
|
+ Add PathMatcher to IOFileFilter class Javadoc #536.
|
||||||
|
+ Fix CharSequenceInputStream coding exception handling #537.
|
||||||
|
Fixes IO-781.
|
||||||
|
+ Deprecate int CountingInputStream#getCount() in favor of long
|
||||||
|
CountingInputStream#getByteCount(). Fixes IO-781.
|
||||||
|
+ Deprecate CountingInputStream.resetCount() in favor of
|
||||||
|
resetByteCount(). Fixes IO-828.
|
||||||
|
+ Deprecate CountingInputStream.getMaxLength() in favor of
|
||||||
|
getMaxCount()). Fixes IO-828.
|
||||||
|
+ NullInputStream breaks InputStream's read method contract.
|
||||||
|
Fixes IO-818.
|
||||||
|
+ Javadoc shouldn't reference 1.x behavior #539.
|
||||||
|
+ Don't decode and reencode characters in a potentially
|
||||||
|
different charset in
|
||||||
|
AbstractOrigin.CharSequenceOrigin.getReader(Charset). Fixes
|
||||||
|
IO-829.
|
||||||
|
+ Let subclasses of CountingInputStream.afterRead(int) throw
|
||||||
|
IOException.
|
||||||
|
+ Characterization test for broken symlinks when copying
|
||||||
|
directories #547. Fixes IO-807.
|
||||||
|
+ ClosedInputStream.read(byte[], int, int) does not always
|
||||||
|
return -1.
|
||||||
|
+ ClosedOutputStream.write(byte[], int, int) does not always
|
||||||
|
throw IOException.
|
||||||
|
+ XmlStreamReader can't parse an XML document with a multi-line
|
||||||
|
prolog #550.
|
||||||
|
+ XmlStreamReader can't parse XML an document with an external
|
||||||
|
parsed entity prolog.
|
||||||
|
+ Update FileNameUtils Javadoc #554. Fixes IO-836.
|
||||||
|
+ Copy symlinks, not the files the symlinks point to #558.
|
||||||
|
Fixes IO-807.
|
||||||
|
+ Pickup apache-rat-plugin version from parent POM.
|
||||||
|
+ Add test for copying a symlink
|
||||||
|
FileUtilsTest#testCopyFile_symLink() #564.
|
||||||
|
+ Make copyFile copy symbolic links by value rather than
|
||||||
|
reference #565.
|
||||||
|
+ Deprecate CopyUtils 0-argument constructor.
|
||||||
|
+ Deprecate EndianUtils 0-argument constructor. Fixes IO-843.
|
||||||
|
+ Deprecate FileSystemUtils 0-argument constructor.
|
||||||
|
+ Deprecate FilenameUtils 0-argument constructor.
|
||||||
|
+ Deprecate RandomAccessFiles 0-argument constructor.
|
||||||
|
+ Clarify and correct EndianUtils and SwappedDataInputStream
|
||||||
|
API doc #566.
|
||||||
|
+ Add characterization test for copying a symlinked directory
|
||||||
|
#570.
|
||||||
|
+ RandomAccessFileInputStream.builder().get() now throws ISE
|
||||||
|
instead of NPE.
|
||||||
|
+ Test links to targets outside the source directory #571.
|
||||||
|
Fixes IO-845.
|
||||||
|
+ Focus Javadoc on current version rather than past versions
|
||||||
|
#573, #574.
|
||||||
|
+ "Self-suppression not permitted" while using BrokenOutput and
|
||||||
|
BrokenInput streams with try-with-resources. Fixes IO-469.
|
||||||
|
+ Handle zero and negative thresholds #587. Fixes IO-405.
|
||||||
|
+ Deprecate CountingInputStream in favor of BoundedInputStream.
|
||||||
|
+ PathUtils.setPosixPermissions(...) only sets permissions if
|
||||||
|
needed.
|
||||||
|
+ PathUtils.setReadOnly(...) only sets permissions if needed.
|
||||||
|
+ PathUtils.deleteFile(..., DeleteOption...) only sets
|
||||||
|
permissions if needed.
|
||||||
|
+ CleaningPathVisitor only sets permissions if needed.
|
||||||
|
+ DeletingPathVisitor only sets permissions if needed.
|
||||||
|
* New features:
|
||||||
|
+ Add and use PathUtils.getFileName(Path, Function<Path, R>).
|
||||||
|
+ Add and use PathUtils.getFileNameString().
|
||||||
|
+ Make public Erase.rethrow(Throwable).
|
||||||
|
+ Add BrokenInputStream.BrokenInputStream(Throwable). Fixes
|
||||||
|
IO-826.
|
||||||
|
+ Add BrokenReader.BrokenReader(Throwable). Fixes IO-826.
|
||||||
|
+ Add BrokenOutputStream.BrokenOutputStream(Throwable). Fixes
|
||||||
|
IO-826.
|
||||||
|
+ Add BrokenWriter.BrokenWriter(Throwable). Fixes IO-826.
|
||||||
|
+ Add BoundedInputStream.getRemaining().
|
||||||
|
+ Add FileTimes.toNtfsTime(long).
|
||||||
|
+ Add FileTimes.fromUnixTime(long).
|
||||||
|
+ Add FileTimes.isUnixTime(FileTime).
|
||||||
|
+ Add FileTimes.isUnixTime(long).
|
||||||
|
+ Add FileTimes.toUnixTime(FileTime).
|
||||||
|
+ Add BrokenInputStream.Builder.
|
||||||
|
+ Add PathUtils.getExtension(Path).
|
||||||
|
+ Add PathUtils.getBaseName(Path).
|
||||||
|
+ Add ThrottledInputStream.
|
||||||
|
+ Add IORunnable.noop().
|
||||||
|
+ Add ChecksumInputStream and test #548.
|
||||||
|
+ Add AbstractStreamBuilder.getReader().
|
||||||
|
+ Add Maven property project.build.outputTimestamp for build
|
||||||
|
reproducibility.
|
||||||
|
+ Add ProxyInputStream.unwrap().
|
||||||
|
+ Add a running count and builder to BoundedInputStream.
|
||||||
|
* Updates:
|
||||||
|
+ Bump commons.bytebuddy.version from 1.14.10 to 1.14.12 #534,
|
||||||
|
#592.
|
||||||
|
+ Bump org.apache.commons:commons-parent from 65 to 67.
|
||||||
|
+ Bump commons-codec:commons-codec from 1.16.0 to 1.16.1 #583.
|
||||||
|
+ Bump org.codehaus.mojo:exec-maven-plugin from 3.1.1 to 3.2.0
|
||||||
|
#593.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 19 14:58:13 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Mon Feb 19 14:58:13 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define base_name io
|
%define base_name io
|
||||||
%define short_name commons-%{base_name}
|
%define short_name commons-%{base_name}
|
||||||
Name: apache-%{short_name}
|
Name: apache-%{short_name}
|
||||||
Version: 2.15.1
|
Version: 2.16.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utilities to assist with developing IO functionality
|
Summary: Utilities to assist with developing IO functionality
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
BIN
commons-io-2.15.1-src.tar.gz
(Stored with Git LFS)
BIN
commons-io-2.15.1-src.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmVgzyQACgkQhv3H4qES
|
|
||||||
YsurQQf+LS4VRitxNgUt7nFxUSHD46hHy3MAkBYNIu6eTXHTKJ/NqIwVxq2f6iZI
|
|
||||||
hq6AKwg5GiOge/2ujqtU3wcKduKPcEC431my0JiGHOrI0F7AGvU4+WIBYQz1Flv3
|
|
||||||
ZjPLk8kXd/WblB8lAByE0/c4nQC1iwV+w/nh0e78KaV9FhsNu0qV9BF+xWiDwFwN
|
|
||||||
sr5W+PeXLqmFy07kvQCaqkbX57bRV4oByttv5hJaLVdkAwksKEUMoij7TM2t54yP
|
|
||||||
6SFQwt3GIu/MuU669fWPvj7D6FdfpU38QChIuj/50L0cAUermMJ3EqS/MatHdf7D
|
|
||||||
lprG1l6RoMMOA/ByoZ4UvtRTrXUzpg==
|
|
||||||
=/4eI
|
|
||||||
-----END PGP SIGNATURE-----
|
|
BIN
commons-io-2.16.1-src.tar.gz
(Stored with Git LFS)
Normal file
BIN
commons-io-2.16.1-src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
11
commons-io-2.16.1-src.tar.gz.asc
Normal file
11
commons-io-2.16.1-src.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmYPUwsACgkQhv3H4qES
|
||||||
|
Ysv5oQf/YZinFfV1MVn3FYenDNLq49p88JWf596c+oCHRTKxvj94F6hW+Ol9p2P/
|
||||||
|
lSbRGtyNE+kHZYXIk0U8/AtMjDpKwcKJrLdKg4jcK30QvFmidLgad45jDoyDcvsK
|
||||||
|
rIsReOVPAou253eIJILgKLiOvMPtwC9/0tfYmApX11Xp0OyJCO9MqI8aFkXwMQzN
|
||||||
|
xLwJ0ZthmM5oA524UR8rs0E03e/HWmeWMDwwDlnztjifqKG6ap8oe8MicDvY4FVR
|
||||||
|
p75IxT85rg0jv9MTkb1VPE4WA+WRc7PWxUVuinfTxXCTlkUumQmMqxxOE6nVPPSd
|
||||||
|
C+Qb4bNTVQgA9n6qCahFia292rjCSQ==
|
||||||
|
=z2kg
|
||||||
|
-----END PGP SIGNATURE-----
|
Loading…
Reference in New Issue
Block a user