commons-io.git
5 weeks ago[IO-594] IOUtils copy methods with java.lang.Appendable as the target. master
Gary Gregory [Sat, 8 Dec 2018 22:57:48 +0000 (15:57 -0700)] 
[IO-594] IOUtils copy methods with java.lang.Appendable as the target.

5 weeks ago[IO-594] IOUtils copy methods with java.lang.Appendable as the target.
Gary Gregory [Sat, 8 Dec 2018 22:56:26 +0000 (15:56 -0700)] 
[IO-594] IOUtils copy methods with java.lang.Appendable as the target.

5 weeks agoSort methods.
Gary Gregory [Sat, 8 Dec 2018 17:42:37 +0000 (10:42 -0700)] 
Sort methods.

5 weeks agoJavadoc: don't list methods that this constant.
Gary Gregory [Sat, 8 Dec 2018 17:22:11 +0000 (10:22 -0700)] 
Javadoc: don't list methods that this constant.

8 weeks agoJavadoc.
Gary Gregory [Tue, 20 Nov 2018 23:34:10 +0000 (16:34 -0700)] 
Javadoc.

8 weeks agoRemove useless comment.
Gary Gregory [Tue, 20 Nov 2018 23:28:48 +0000 (16:28 -0700)] 
Remove useless comment.

E-mail thread subject "[IO] Provenance of copied code in
InfiniteCircularInputStream":
https://mail-archives.apache.org/mod_mbox/commons-dev/201811.mbox/%3CCACZkXPw-sd6FLHZseeZDsJ+297bqS6tGUGByiX3wYpmuAgtrfQ@mail.gmail.com%3E

2 months ago[io] use non-short-circuit operator
Eitan Adler [Sat, 3 Nov 2018 04:21:18 +0000 (21:21 -0700)] 
[io] use non-short-circuit operator

This should have identical semantics but is less confusing to read.

3 months agoTravis: Replace Oracle JDK 10 with Open JDK 10, because Oracle JDK 10 is no longer...
pascalschumacher [Wed, 17 Oct 2018 16:58:32 +0000 (18:58 +0200)] 
Travis: Replace Oracle JDK 10 with Open JDK 10, because Oracle JDK 10 is no longer available on Travis.

3 months agoIO-589 Some tests fail if the base path contains a space
Sebb [Tue, 16 Oct 2018 23:02:47 +0000 (00:02 +0100)] 
IO-589 Some tests fail if the base path contains a space

3 months agoJavadoc warnings
Sebb [Mon, 15 Oct 2018 21:35:54 +0000 (22:35 +0100)] 
Javadoc warnings

3 months agoUnused import
Sebb [Mon, 15 Oct 2018 21:09:49 +0000 (22:09 +0100)] 
Unused import

5 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-io.git
Jochen Wiedmann (jwi) [Fri, 27 Jul 2018 14:44:17 +0000 (16:44 +0200)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-io.git

5 months agoAdding the PeekableInputStream.
Jochen Wiedmann (jwi) [Fri, 27 Jul 2018 14:43:35 +0000 (16:43 +0200)] 
Adding the PeekableInputStream.

5 months agoAdding the PeekableInputStream.
Jochen Wiedmann (jwi) [Fri, 27 Jul 2018 14:43:35 +0000 (16:43 +0200)] 
Adding the PeekableInputStream.

5 months agoPR: IO-582
Jochen Wiedmann (jwi) [Fri, 27 Jul 2018 12:53:07 +0000 (14:53 +0200)] 
PR: IO-582

Make methods in ObservableInputStream.Obsever public.

7 months agoRevert "The the patrol."
Gary Gregory [Sat, 16 Jun 2018 21:51:59 +0000 (15:51 -0600)] 
Revert "The the patrol."

This reverts commit 41059e4a4827e882b7c77667ff62c9b0567e5e21.

7 months agoThe the patrol.
Gary Gregory [Sat, 16 Jun 2018 21:46:01 +0000 (15:46 -0600)] 
The the patrol.

7 months agoRemove trailing white spaces on all lines.
Gary Gregory [Tue, 12 Jun 2018 22:03:44 +0000 (16:03 -0600)] 
Remove trailing white spaces on all lines.

7 months agoUse final.
Gary Gregory [Tue, 12 Jun 2018 22:02:50 +0000 (16:02 -0600)] 
Use final.

7 months ago[IO-554] FileUtils.copyToFile(InputStream source, File destination)
Gary Gregory [Tue, 12 Jun 2018 22:02:19 +0000 (16:02 -0600)] 
[IO-554] FileUtils.copyToFile(InputStream source, File destination)
should not close input stream.

7 months ago[IO-554] FileUtils.copyToFile(InputStream source, File destination)
Gary Gregory [Tue, 12 Jun 2018 22:02:01 +0000 (16:02 -0600)] 
[IO-554] FileUtils.copyToFile(InputStream source, File destination)
should not close input stream. Closes #49.

7 months agoRemove @version $Id$ tags from pre-git SVN days.
Gary Gregory [Mon, 11 Jun 2018 18:17:07 +0000 (12:17 -0600)] 
Remove @version $Id$ tags from pre-git SVN days.

7 months agoUse Java 9 Maven profile on Java 9 and later.
pascalschumacher [Sat, 9 Jun 2018 08:27:26 +0000 (10:27 +0200)] 
Use Java 9 Maven profile on Java 9 and later.

7 months agoUpdate to commons-parent version 46 63/head
Pascal Schumacher [Sat, 9 Jun 2018 08:04:18 +0000 (10:04 +0200)] 
Update to commons-parent version 46

7 months agoTravis: Add oraclejdk10
Pascal Schumacher [Sat, 9 Jun 2018 07:59:39 +0000 (09:59 +0200)] 
Travis: Add oraclejdk10

7 months agoRemove redundant type arguments.
Gary Gregory [Fri, 8 Jun 2018 17:03:43 +0000 (11:03 -0600)] 
Remove redundant type arguments.

7 months ago[IO-580] Update org.apache.commons.io.FilenameUtils.isExtension(String,
Gary Gregory [Fri, 8 Jun 2018 17:02:38 +0000 (11:02 -0600)] 
[IO-580] Update org.apache.commons.io.FilenameUtils.isExtension(String,
String[]) to use var args.

7 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-io
Gary Gregory [Fri, 8 Jun 2018 16:56:11 +0000 (10:56 -0600)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-io

7 months agoAdd slots for case sensitivity and case preservation.
Gary Gregory [Fri, 8 Jun 2018 16:55:52 +0000 (10:55 -0600)] 
Add slots for case sensitivity and case preservation.

7 months agoAdd more varied input data to tests in FileSystemUtilsTestCase (closes #48)
Owolabi Legunsen [Tue, 17 Oct 2017 07:03:01 +0000 (02:03 -0500)] 
Add more varied input data to tests in FileSystemUtilsTestCase (closes #48)

Add tests with larger and smaller disk spaces on Windows

(side effect: close #57, close #45)

7 months agoStrengthen TeeOutputStremTest.testTee with an expected result.
oscarlvp [Thu, 31 May 2018 09:32:19 +0000 (11:32 +0200)] 
Strengthen TeeOutputStremTest.testTee with an expected result.
Tee should not just repeat what's being written to both outputs,
the output should also be the same as expected. For example, if
the body of any of the write methods in TeeOutputStream is removed,
then the values written are the same (nothing) and the assertions
don't fail in the test. This is solved by adding an expected value
and checking both outputs against it.

7 months agoIO-559 record change, closes #52
Stefan Bodewig [Wed, 30 May 2018 08:08:25 +0000 (10:08 +0200)] 
IO-559 record change, closes #52

7 months agoremove IPv4 checks that are unnnecessary due to matching regex
Stefan Bodewig [Thu, 17 May 2018 19:04:34 +0000 (21:04 +0200)] 
remove IPv4 checks that are unnnecessary due to matching regex

7 months agoisRFC3986HostName applies to IPv4 addresses so we can safe the test
Stefan Bodewig [Thu, 17 May 2018 19:03:26 +0000 (21:03 +0200)] 
isRFC3986HostName applies to IPv4 addresses so we can safe the test

7 months agoimprove test coverage for IP address parsing code
Stefan Bodewig [Wed, 16 May 2018 07:34:32 +0000 (09:34 +0200)] 
improve test coverage for IP address parsing code

7 months agocheckstyle requires javadocs on private methods?
Stefan Bodewig [Wed, 16 May 2018 06:49:15 +0000 (08:49 +0200)] 
checkstyle requires javadocs on private methods?

7 months agoIO-559 verify hostname part of suspected UNC paths in FileNameUtils
Stefan Bodewig [Thu, 21 Dec 2017 12:49:06 +0000 (13:49 +0100)] 
IO-559 verify hostname part of suspected UNC paths in FileNameUtils

7 months ago[IO-577] Add readers to filter out given characters:
Gary Gregory [Tue, 22 May 2018 16:05:59 +0000 (10:05 -0600)] 
[IO-577] Add readers to filter out given characters:
CharacterSetFilterReader and CharacterFilterReader.

8 months agoFileUtils#forceMkdir: Minor fix in method javadoc (closes #60)
Koray Tugay [Fri, 18 May 2018 01:36:53 +0000 (21:36 -0400)] 
FileUtils#forceMkdir: Minor fix in method javadoc (closes #60)

8 months agoTypo: 'JavaDoc' -> 'Javadoc'.
Gary Gregory [Tue, 15 May 2018 18:36:10 +0000 (12:36 -0600)] 
Typo: 'JavaDoc' -> 'Javadoc'.

8 months agoIO-535: Thread bug in FileAlterationMonitor#stop(int)
pascalschumacher [Sun, 29 Apr 2018 09:19:44 +0000 (11:19 +0200)] 
IO-535: Thread bug in FileAlterationMonitor#stop(int)

add changes.xml entry

8 months agoIO-535: Thread bug in FileAlterationMonitor#stop(int) (closes #58, #36)
Svetlin Zarev [Sun, 29 Apr 2018 09:11:00 +0000 (11:11 +0200)] 
IO-535: Thread bug in FileAlterationMonitor#stop(int) (closes #58, #36)

Interrupt the thread created by FileAlterationMonitor on stop()

8 months agoIgnore IntelliJ IDE files
Svetlin Zarev [Sat, 10 Mar 2018 18:37:30 +0000 (20:37 +0200)] 
Ignore IntelliJ IDE files

10 months agoBullet-proofing.
Gary Gregory [Sat, 10 Mar 2018 15:28:15 +0000 (08:28 -0700)] 
Bullet-proofing.

10 months ago[IO-572] Refactor duplicate code in org.apache.commons.io.FileUtils.
Gary Gregory [Sat, 10 Mar 2018 15:09:37 +0000 (08:09 -0700)] 
[IO-572] Refactor duplicate code in org.apache.commons.io.FileUtils.

10 months ago[IO-571] Remove redundant isDirectory() check in 56/head
Gary Gregory [Thu, 8 Mar 2018 19:52:41 +0000 (12:52 -0700)] 
[IO-571] Remove redundant isDirectory() check in
org.apache.commons.io.FileUtils.listFilesAndDirs(File, IOFileFilter,
IOFileFilter).

10 months agoFix param names '*Filename*' -> '*FileName*' in code and Javadocs.
Gary Gregory [Thu, 8 Mar 2018 15:51:35 +0000 (08:51 -0700)] 
Fix param names '*Filename*' -> '*FileName*' in code and Javadocs.

10 months agoFix param names 'filename' -> 'fileName' in code and Javadocs.
Gary Gregory [Thu, 8 Mar 2018 15:50:25 +0000 (08:50 -0700)] 
Fix param names 'filename' -> 'fileName' in code and Javadocs.

10 months ago[IO-570] Missing Javadoc in FilenameUtils causing Travis-CI build to
Gary Gregory [Thu, 8 Mar 2018 15:49:54 +0000 (08:49 -0700)] 
[IO-570] Missing Javadoc in FilenameUtils causing Travis-CI build to
fail.

10 months agoAdd missing Javadoc for Checkstyle.
Gary Gregory [Thu, 8 Mar 2018 15:32:40 +0000 (08:32 -0700)] 
Add missing Javadoc for Checkstyle.

10 months agoRefactor magic string into a constant.
Gary Gregory [Tue, 6 Mar 2018 21:36:14 +0000 (14:36 -0700)] 
Refactor magic string into a constant.

10 months agoRefactor magic int into a constant.
Gary Gregory [Tue, 6 Mar 2018 21:35:28 +0000 (14:35 -0700)] 
Refactor magic int into a constant.

10 months agoRedundant superinterface Serializable for the type IOCase, already
Gary Gregory [Tue, 6 Mar 2018 21:00:39 +0000 (14:00 -0700)] 
Redundant superinterface Serializable for the type IOCase, already
defined by Enum<IOCase>.

10 months agoUnnecessary semicolon.
Gary Gregory [Tue, 6 Mar 2018 20:56:06 +0000 (13:56 -0700)] 
Unnecessary semicolon.

10 months agoAdd missing Javadoc tag.
Gary Gregory [Tue, 6 Mar 2018 20:54:09 +0000 (13:54 -0700)] 
Add missing Javadoc tag.

10 months agoRedundant superinterface Serializable for the type IOCase, already
Gary Gregory [Tue, 6 Mar 2018 20:52:49 +0000 (13:52 -0700)] 
Redundant superinterface Serializable for the type IOCase, already
defined by Enum<IOCase>.

10 months agoDon't need to nest else clause. Refactor magic numbers into constants.
Gary Gregory [Tue, 6 Mar 2018 17:00:42 +0000 (10:00 -0700)] 
Don't need to nest else clause. Refactor magic numbers into constants.

10 months agoRefactor magic string into a constant.
Gary Gregory [Tue, 6 Mar 2018 16:51:21 +0000 (09:51 -0700)] 
Refactor magic string into a constant.

10 months agoSimplify.
Gary Gregory [Tue, 6 Mar 2018 16:46:03 +0000 (09:46 -0700)] 
Simplify.

10 months agoDon't need to nest else clause.
Gary Gregory [Tue, 6 Mar 2018 16:45:28 +0000 (09:45 -0700)] 
Don't need to nest else clause.

10 months agoJavadoc fixes on Java 8.
Gary Gregory [Tue, 6 Mar 2018 16:43:38 +0000 (09:43 -0700)] 
Javadoc fixes on Java 8.

10 months agoBetter ivar and param names.
Gary Gregory [Tue, 6 Mar 2018 16:33:04 +0000 (09:33 -0700)] 
Better ivar and param names.

10 months agoDon't need to nest else clause.
Gary Gregory [Tue, 6 Mar 2018 16:27:13 +0000 (09:27 -0700)] 
Don't need to nest else clause.

11 months agoIO-567: Implement special case handling for NTFS ADS names
pascalschumacher [Sun, 4 Feb 2018 10:46:43 +0000 (11:46 +0100)] 
IO-567:  Implement special case handling for NTFS ADS names

fix checkstyle violation by replacing tabs with spaces

11 months agoMerge branch 'master' of http://git-wip-us.apache.org/repos/asf/commons-io.git
Jochen Wiedmann (jwi) [Wed, 31 Jan 2018 08:49:44 +0000 (09:49 +0100)] 
Merge branch 'master' of git-wip-us.apache.org/repos/asf/commons-io.git

11 months agoPR: IO-567
Jochen Wiedmann (jwi) [Tue, 30 Jan 2018 14:31:29 +0000 (15:31 +0100)] 
PR: IO-567
- Replaced NtfsAdsNameException with IllegalArgumentException.
- Fixed Javadoc ("Output will be the same irrespective of the
machine...")

11 months agoMerge branch 'master' of http://git-wip-us.apache.org/repos/asf/commons-io.git
Jochen Wiedmann (jwi) [Tue, 30 Jan 2018 14:31:29 +0000 (15:31 +0100)] 
Merge branch 'master' of git-wip-us.apache.org/repos/asf/commons-io.git

11 months agoPR: IO-567
Jochen Wiedmann (jwi) [Tue, 30 Jan 2018 14:24:39 +0000 (15:24 +0100)] 
PR: IO-567

Throw an IllegalArgumentException in FilenameUtils.getExtension(String)
for ADS names.

11 months agoPR: IO-567
Jochen Wiedmann (jwi) [Tue, 30 Jan 2018 14:24:39 +0000 (15:24 +0100)] 
PR: IO-567

Throw an IllegalArgumentException in FilenameUtils.getExtension(String)
for ADS names.

12 months agoIO-557: UnsupportedEncodingException when opening an ISO-8859-1 XML stream with Turki...
pascalschumacher [Sun, 14 Jan 2018 10:45:10 +0000 (11:45 +0100)] 
IO-557: UnsupportedEncodingException when opening an ISO-8859-1 XML stream with Turkish as the default locale

improve test name

12 months agoIO-557: UnsupportedEncodingException when opening an ISO-8859-1 XML stream with Turki...
pascalschumacher [Sun, 14 Jan 2018 10:38:57 +0000 (11:38 +0100)] 
IO-557: UnsupportedEncodingException when opening an ISO-8859-1 XML stream with Turkish as the default locale

improve tests by copying parts of the SystemDefaults rule from commons-lang

add changes.xml entry

12 months agoIO-557: UnsupportedEncodingException when opening an ISO-8859-1 XML stream with Turki...
luccioman [Mon, 18 Dec 2017 08:37:06 +0000 (09:37 +0100)] 
IO-557: UnsupportedEncodingException when opening an ISO-8859-1 XML stream with Turkish as the default locale (closes #51)

Perform locale independent upper case conversions.

To handle properly lower cased character encoding name in XML prolog
with any default system locale, notably Turkish.

12 months agoModifier 'private' is redundant for enum constructors. (closes #53)
shahab [Fri, 12 Jan 2018 23:06:51 +0000 (18:06 -0500)] 
Modifier 'private' is redundant for enum constructors. (closes #53)

12 months agoremove unnecessary semicolon.
shahab [Fri, 12 Jan 2018 23:26:36 +0000 (18:26 -0500)] 
remove unnecessary semicolon.

12 months agopom.xml: use commons.module.name property as Automatic-Module-Name
pascalschumacher [Sun, 7 Jan 2018 17:08:15 +0000 (18:08 +0100)] 
pom.xml: use commons.module.name property as Automatic-Module-Name

remove outdated and no longer correct comment about Automatic-Module-Name being implemented in Parent POM

12 months agoUpdate to commons-parent version 43
pascalschumacher [Sun, 7 Jan 2018 10:25:55 +0000 (11:25 +0100)] 
Update to commons-parent version 43

13 months agoAdd/remove blank lines in Javadoc to aid clarity
Mark Thomas [Tue, 5 Dec 2017 10:02:20 +0000 (10:02 +0000)] 
Add/remove blank lines in Javadoc to aid clarity

13 months agoJavadoc.
Gary Gregory [Sat, 18 Nov 2017 20:46:18 +0000 (13:46 -0700)] 
Javadoc.

13 months ago[IO-555] Add reserved file names. Impl for Windows only for now.
Gary Gregory [Sat, 18 Nov 2017 20:45:27 +0000 (13:45 -0700)] 
[IO-555] Add reserved file names. Impl for Windows only for now.

13 months agoSort members.
Gary Gregory [Sat, 18 Nov 2017 20:32:19 +0000 (13:32 -0700)] 
Sort members.

13 months agoAdd missing Javadocs.
Gary Gregory [Sat, 18 Nov 2017 20:31:30 +0000 (13:31 -0700)] 
Add missing Javadocs.

14 months ago[IO-555] Add reserved file names. Impl for Windows only for now.
Gary Gregory [Fri, 17 Nov 2017 23:17:57 +0000 (16:17 -0700)] 
[IO-555] Add reserved file names. Impl for Windows only for now.

14 months agoJavadoc.
Gary Gregory [Fri, 17 Nov 2017 22:47:52 +0000 (15:47 -0700)] 
Javadoc.

14 months agoAdd test of illegal replacement char
Sebb [Thu, 16 Nov 2017 15:33:58 +0000 (15:33 +0000)] 
Add test of illegal replacement char

14 months ago+= isLegalFile(CharSequence)
Sebb [Thu, 16 Nov 2017 12:44:10 +0000 (12:44 +0000)] 
+= isLegalFile(CharSequence)

14 months agoTest if arrays are sorted
Sebb [Thu, 16 Nov 2017 12:20:32 +0000 (12:20 +0000)] 
Test if arrays are sorted

14 months agoTypo
Sebb [Thu, 16 Nov 2017 11:58:51 +0000 (11:58 +0000)] 
Typo

14 months ago[IO-555] Recasting this issue away from a new method in FilenameUtils to
Gary Gregory [Thu, 16 Nov 2017 04:26:30 +0000 (21:26 -0700)] 
[IO-555] Recasting this issue away from a new method in FilenameUtils to
a solution to convert Strings to legal files names with the new enum
FileSystem.

14 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-io
Gary Gregory [Wed, 15 Nov 2017 20:08:38 +0000 (13:08 -0700)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-io

14 months ago[IO-553] Add
Gary Gregory [Wed, 15 Nov 2017 20:08:27 +0000 (13:08 -0700)] 
[IO-553] Add
org.apache.commons.io.FilenameUtils.isIllegalWindowsFileName(char).
Fix Javadoc HTML nonesense.

14 months agoTypos and clarifications
Sebb [Wed, 15 Nov 2017 16:53:26 +0000 (16:53 +0000)] 
Typos and clarifications

14 months ago[IO-553] Add
Gary Gregory [Wed, 15 Nov 2017 15:46:42 +0000 (08:46 -0700)] 
[IO-553] Add
org.apache.commons.io.FilenameUtils.isIllegalWindowsFileName(char).
Javadoc.

14 months ago[IO-553] Add
Gary Gregory [Wed, 15 Nov 2017 15:44:44 +0000 (08:44 -0700)] 
[IO-553] Add
org.apache.commons.io.FilenameUtils.isIllegalWindowsFileName(char).

14 months ago[IO-553] Add
Gary Gregory [Wed, 15 Nov 2017 04:13:46 +0000 (21:13 -0700)] 
[IO-553] Add
org.apache.commons.io.FilenameUtils.WINDOWS_ILLEGAL_FILE_NAME_CHARS.

14 months agoAdd changes.xml entry for next release, add empty lines between releases
Benedikt Ritter [Fri, 20 Oct 2017 06:30:04 +0000 (08:30 +0200)] 
Add changes.xml entry for next release, add empty lines between releases

14 months agoBump to next development version
Benedikt Ritter [Fri, 20 Oct 2017 06:23:16 +0000 (08:23 +0200)] 
Bump to next development version

15 months agoUpdate version numbers for Commons IO release 2.6 release commons-io-2.6-RC3
Benedikt Ritter [Sat, 30 Sep 2017 14:33:46 +0000 (16:33 +0200)] 
Update version numbers for Commons IO release 2.6

15 months agoUpdate site for Release 2.6
Benedikt Ritter [Sat, 30 Sep 2017 14:31:30 +0000 (16:31 +0200)] 
Update site for Release 2.6

15 months agoUpdate auto generated files
Benedikt Ritter [Sat, 30 Sep 2017 14:19:56 +0000 (16:19 +0200)] 
Update auto generated files

15 months agoPrepare release notes for Commons IO 2.6
Benedikt Ritter [Sat, 30 Sep 2017 14:17:35 +0000 (16:17 +0200)] 
Prepare release notes for Commons IO 2.6