commons-io.git
5 days agoReduce boilerplate through new UncheckedIO class and friends in master
Gary Gregory [Fri, 13 May 2022 21:55:10 +0000 (17:55 -0400)] 
Reduce boilerplate through new UncheckedIO class and friends in
org.apache.commons.io.function.

6 days agoBump spotbugs from 4.6.0 to 4.7.0
dependabot[bot] [Fri, 13 May 2022 00:21:34 +0000 (00:21 +0000)] 
Bump spotbugs from 4.6.0 to 4.7.0

Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/spotbugs/spotbugs/releases)
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.6.0...4.7.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
7 days agoFormat tweak.
Gary Gregory [Wed, 11 May 2022 11:35:37 +0000 (07:35 -0400)] 
Format tweak.

7 days agoNormalize Javadoc.
Gary Gregory [Wed, 11 May 2022 11:23:33 +0000 (07:23 -0400)] 
Normalize Javadoc.

8 days agoNo need for a block.
Gary Gregory [Tue, 10 May 2022 19:44:48 +0000 (15:44 -0400)] 
No need for a block.

8 days agoBetter local name & format tweaks.
Gary Gregory [Tue, 10 May 2022 19:38:22 +0000 (15:38 -0400)] 
Better local name & format tweaks.

8 days agoBetter local name & format tweaks.
Gary Gregory [Tue, 10 May 2022 19:37:45 +0000 (15:37 -0400)] 
Better local name & format tweaks.

8 days agoRemove unnecessary @SuppressWarnings("unchecked")
Gary Gregory [Tue, 10 May 2022 17:58:41 +0000 (13:58 -0400)] 
Remove unnecessary @SuppressWarnings("unchecked")

8 days agoJavadoc.
Gary Gregory [Tue, 10 May 2022 17:53:38 +0000 (13:53 -0400)] 
Javadoc.

13 days ago[IO-768] Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem #355
Gary Gregory [Fri, 6 May 2022 01:06:49 +0000 (21:06 -0400)] 
[IO-768] Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem #355

13 days agoIO-768: Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem (#355)
Marcono1234 [Fri, 6 May 2022 01:03:33 +0000 (03:03 +0200)] 
IO-768: Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem (#355)

13 days agoBump maven-antrun-plugin from 3.0.0 to 3.1.0 #354
Gary Gregory [Fri, 6 May 2022 01:01:06 +0000 (21:01 -0400)] 
Bump maven-antrun-plugin from 3.0.0 to 3.1.0 #354

13 days agoBump maven-antrun-plugin from 3.0.0 to 3.1.0 (#354)
dependabot[bot] [Fri, 6 May 2022 00:59:10 +0000 (20:59 -0400)] 
Bump maven-antrun-plugin from 3.0.0 to 3.1.0 (#354)

Bumps [maven-antrun-plugin](https://github.com/apache/maven-antrun-plugin) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/apache/maven-antrun-plugin/releases)
- [Commits](https://github.com/apache/maven-antrun-plugin/compare/maven-antrun-plugin-3.0.0...maven-antrun-plugin-3.1.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-antrun-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 weeks agoBump github/codeql-action from 1 to 2
dependabot[bot] [Fri, 29 Apr 2022 00:24:44 +0000 (00:24 +0000)] 
Bump github/codeql-action from 1 to 2

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agochore: Set permissions for GitHub actions
naveen [Tue, 26 Apr 2022 01:10:09 +0000 (01:10 +0000)] 
chore: Set permissions for GitHub actions

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
3 weeks agoBump mockito-inline from 4.4.0 to 4.5.1 #348
Gary Gregory [Fri, 22 Apr 2022 18:11:19 +0000 (14:11 -0400)] 
Bump mockito-inline from 4.4.0 to 4.5.1 #348

3 weeks agoBump mockito-inline from 4.4.0 to 4.5.1 (#348)
dependabot[bot] [Fri, 22 Apr 2022 18:10:20 +0000 (14:10 -0400)] 
Bump mockito-inline from 4.4.0 to 4.5.1 (#348)

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-inline
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 weeks agoRework some tests such that temporary files and directories are as
Gary Gregory [Tue, 19 Apr 2022 22:43:59 +0000 (18:43 -0400)] 
Rework some tests such that temporary files and directories are as
short-lived as possible, also use try-with-resources to make sure temps
are deleted at the end of a test.

Put all of this under test source tree for now, even the reusable
classes.

4 weeks agoUse JUnit TempDir instead of custom code.
Gary Gregory [Sun, 17 Apr 2022 21:09:38 +0000 (17:09 -0400)] 
Use JUnit TempDir instead of custom code.

4 weeks agoRevert "Revert "Revert "Use JUnit TempDir instead of custom code."""
Gary Gregory [Sun, 17 Apr 2022 21:05:14 +0000 (17:05 -0400)] 
Revert "Revert "Revert "Use JUnit TempDir instead of custom code."""

This reverts commit d76cf38ad7296bf8eb26ce792c13d65f81c0e29a.

4 weeks agoRevert "Revert "Use JUnit TempDir instead of custom code.""
Gary Gregory [Sun, 17 Apr 2022 21:02:32 +0000 (17:02 -0400)] 
Revert "Revert "Use JUnit TempDir instead of custom code.""

This reverts commit a149541f412eaa87d9d8d6fcf1a8227d6f2aa04f.

4 weeks agoRevert "Use JUnit TempDir instead of custom code."
Gary Gregory [Sun, 17 Apr 2022 21:02:23 +0000 (17:02 -0400)] 
Revert "Use JUnit TempDir instead of custom code."

This reverts commit a86e5461fc7f17ee1405e9a595515b4213849d57.

4 weeks agoUse JUnit TempDir instead of custom code.
Gary Gregory [Sun, 17 Apr 2022 21:00:08 +0000 (17:00 -0400)] 
Use JUnit TempDir instead of custom code.

4 weeks agoRevert "Use JUnit TempDir instead of custom code."
Gary Gregory [Sun, 17 Apr 2022 20:54:20 +0000 (16:54 -0400)] 
Revert "Use JUnit TempDir instead of custom code."

This reverts commit ebf06ea477399a778564d2bc60422f652b89989f.

4 weeks agoUse JUnit TempDir instead of custom code.
Gary Gregory [Sun, 17 Apr 2022 20:53:59 +0000 (16:53 -0400)] 
Use JUnit TempDir instead of custom code.

4 weeks agoUSe JUnit TempDir instead of custom code.
Gary Gregory [Sun, 17 Apr 2022 20:40:10 +0000 (16:40 -0400)] 
USe JUnit TempDir instead of custom code.

4 weeks agoBump jacoco-maven-plugin from 0.8.7 to 0.8.8.
Gary Gregory [Sun, 17 Apr 2022 14:33:16 +0000 (10:33 -0400)] 
Bump jacoco-maven-plugin from 0.8.7 to 0.8.8.

4 weeks agoBump org.junit-pioneer:junit-pioneer from 1.6.2 to 1.7.0
Gary Gregory [Sun, 17 Apr 2022 14:31:55 +0000 (10:31 -0400)] 
Bump org.junit-pioneer:junit-pioneer from 1.6.2 to 1.7.0

4 weeks agoBump commons-parent from 52 to 53.
Gary Gregory [Sun, 17 Apr 2022 14:29:05 +0000 (10:29 -0400)] 
Bump commons-parent from 52 to 53.

4 weeks agoMove one entry.
Gary Gregory [Sun, 17 Apr 2022 14:17:36 +0000 (10:17 -0400)] 
Move one entry.

4 weeks agoAdd NTFS conversion methods from
Gary Gregory [Sun, 17 Apr 2022 14:16:10 +0000 (10:16 -0400)] 
Add NTFS conversion methods from
https://github.com/apache/commons-compress/pull/256

4 weeks agoFix test method name.
Gary Gregory [Sun, 17 Apr 2022 13:48:52 +0000 (09:48 -0400)] 
Fix test method name.

4 weeks agoBump actions/setup-java from 2 to 3
dependabot[bot] [Fri, 15 Apr 2022 00:01:40 +0000 (00:01 +0000)] 
Bump actions/setup-java from 2 to 3

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 weeks agoBump actions/cache from 3 to 3.0.2
Gary Gregory [Tue, 12 Apr 2022 12:38:27 +0000 (08:38 -0400)] 
Bump actions/cache from 3 to 3.0.2

5 weeks agoGroup some updates.
Gary Gregory [Tue, 12 Apr 2022 12:38:06 +0000 (08:38 -0400)] 
Group some updates.

6 weeks ago[IO-764] IOUtils.write() throws
Gary Gregory [Tue, 5 Apr 2022 19:57:38 +0000 (15:57 -0400)] 
[IO-764] IOUtils.write() throws
OutOfMemoryError/NegativeArraySizeException while writing big strings

Reuse solution.

6 weeks ago[IO-764] IOUtils.write() throws
Gary Gregory [Tue, 5 Apr 2022 19:06:23 +0000 (15:06 -0400)] 
[IO-764] IOUtils.write() throws
OutOfMemoryError/NegativeArraySizeException while writing big strings

- Adapt PR #343 by DaGeRe.
- Use a ternary expression.

6 weeks ago[IO-680] Add more tests for IOUtils.contentEqualsIgnoreEOL #137
Gary Gregory [Mon, 4 Apr 2022 19:47:48 +0000 (15:47 -0400)] 
[IO-680] Add more tests for IOUtils.contentEqualsIgnoreEOL #137

6 weeks agoadd more tests for IOUtils.contentEqualsIgnoreEOL (#137)
XenoAmess [Mon, 4 Apr 2022 19:45:52 +0000 (03:45 +0800)] 
add more tests for IOUtils.contentEqualsIgnoreEOL (#137)

6 weeks agoBump jmh.version from 1.34 to 1.35 #342
Gary Gregory [Mon, 4 Apr 2022 18:56:13 +0000 (14:56 -0400)] 
Bump jmh.version from 1.34 to 1.35 #342

6 weeks agoBump jmh.version from 1.34 to 1.35 (#342)
dependabot[bot] [Mon, 4 Apr 2022 18:55:12 +0000 (14:55 -0400)] 
Bump jmh.version from 1.34 to 1.35 (#342)

Bumps `jmh.version` from 1.34 to 1.35.

Updates `jmh-core` from 1.34 to 1.35

Updates `jmh-generator-annprocess` from 1.34 to 1.35

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 weeks agoReuse own code.
Gary Gregory [Mon, 4 Apr 2022 18:44:44 +0000 (14:44 -0400)] 
Reuse own code.

6 weeks agoCheckstyle.
Gary Gregory [Mon, 4 Apr 2022 18:38:15 +0000 (14:38 -0400)] 
Checkstyle.

6 weeks agoUse try-with-resources, avoids compiler warnings.
Gary Gregory [Mon, 4 Apr 2022 13:04:23 +0000 (09:04 -0400)] 
Use try-with-resources, avoids compiler warnings.

6 weeks ago[IO-764] IOUtils.write() throws
Gary Gregory [Mon, 4 Apr 2022 13:00:32 +0000 (09:00 -0400)] 
[IO-764] IOUtils.write() throws
OutOfMemoryError/NegativeArraySizeException while writing big strings.

- Better test than in PR #343 that validates the output size.

6 weeks agoFix format nit.
Gary Gregory [Mon, 4 Apr 2022 12:22:44 +0000 (08:22 -0400)] 
Fix format nit.

6 weeks agoFix format nit.
Gary Gregory [Mon, 4 Apr 2022 12:21:56 +0000 (08:21 -0400)] 
Fix format nit.

7 weeks agoMerge branch 'pr-341'
Bruno P. Kinoshita [Wed, 30 Mar 2022 20:22:44 +0000 (09:22 +1300)] 
Merge branch 'pr-341'

This closes #341

7 weeks agouse assertThrows in testAsBufferedNull
richard [Tue, 29 Mar 2022 08:08:04 +0000 (09:08 +0100)] 
use assertThrows in testAsBufferedNull

7 weeks agoFileFilterTest minor fixes #340.
Gary Gregory [Mon, 28 Mar 2022 20:54:43 +0000 (15:54 -0500)] 
FileFilterTest minor fixes #340.

7 weeks agoFileFilterTest minor fixes (#340)
richarda23 [Mon, 28 Mar 2022 20:53:34 +0000 (21:53 +0100)] 
FileFilterTest minor fixes (#340)

* use assertThrows for cleaner test

* cleaner assertions for testFilterListNullParameters

* add missing boolan combination in testAnd

* use assertThrows for cleaner test: testNameFilterNullArgument

Co-authored-by: richard <ra22597@gmail.com>
7 weeks ago comments in FileFilterTest #334. Add missing javadoc for exceptions thrown for inval...
Gary Gregory [Mon, 28 Mar 2022 20:50:55 +0000 (15:50 -0500)] 
 comments in FileFilterTest #334. Add missing javadoc for exceptions thrown for invalid arguments #339.

7 weeks agoAdd missing javadoc for exceptions thrown for invalid arguments (#339)
Diego Marcilio [Mon, 28 Mar 2022 20:48:06 +0000 (22:48 +0200)] 
Add missing javadoc for exceptions thrown for invalid arguments (#339)

7 weeks agoBump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #338
Gary Gregory [Mon, 28 Mar 2022 19:50:03 +0000 (14:50 -0500)] 
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #338

7 weeks agoBump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 (#338)
dependabot[bot] [Mon, 28 Mar 2022 19:48:38 +0000 (14:48 -0500)] 
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 (#338)

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.3.0 to 4.6.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.3.0...spotbugs-maven-plugin-4.6.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 weeks agoBump actions/cache from 2.1.7 to 3 #337
Gary Gregory [Sun, 27 Mar 2022 15:43:54 +0000 (08:43 -0700)] 
Bump actions/cache from 2.1.7 to 3 #337

7 weeks agoBump actions/cache from 2.1.7 to 3 (#337)
dependabot[bot] [Sun, 27 Mar 2022 15:42:36 +0000 (08:42 -0700)] 
Bump actions/cache from 2.1.7 to 3 (#337)

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 weeks agoMerge branch 'pr-336'
Bruno P. Kinoshita [Fri, 25 Mar 2022 21:31:26 +0000 (10:31 +1300)] 
Merge branch 'pr-336'

This closes #336

7 weeks ago[IO-697] Changelog
Bruno P. Kinoshita [Fri, 25 Mar 2022 21:31:03 +0000 (10:31 +1300)] 
[IO-697] Changelog

7 weeks ago[IO-697] Fix IOUtils.toByteArray documentation.
richard [Thu, 24 Mar 2022 21:03:04 +0000 (21:03 +0000)] 
[IO-697] Fix IOUtils.toByteArray documentation.

8 weeks agoBump japicmp-maven-plugin from 0.15.6 to 0.15.7.
Gary Gregory [Sun, 20 Mar 2022 12:14:26 +0000 (08:14 -0400)] 
Bump japicmp-maven-plugin from 0.15.6 to 0.15.7.

8 weeks agoFix entry placement.
Gary Gregory [Sun, 20 Mar 2022 12:13:56 +0000 (08:13 -0400)] 
Fix entry placement.

8 weeks agoBump Maven Javadoc plugin from 3.3.1 to 3.3.2.
Gary Gregory [Sun, 20 Mar 2022 12:12:58 +0000 (08:12 -0400)] 
Bump Maven Javadoc plugin from 3.3.1 to 3.3.2.

8 weeks agoAdd a few assertions.
Gary Gregory [Sun, 20 Mar 2022 12:10:22 +0000 (08:10 -0400)] 
Add a few assertions.

2 months agoBump junit-pioneer from 1.6.1 to 1.6.2 #335
Gary Gregory [Fri, 18 Mar 2022 02:51:35 +0000 (22:51 -0400)] 
Bump junit-pioneer from 1.6.1 to 1.6.2 #335

2 months agoBump junit-pioneer from 1.6.1 to 1.6.2 (#335)
dependabot[bot] [Fri, 18 Mar 2022 02:50:03 +0000 (22:50 -0400)] 
Bump junit-pioneer from 1.6.1 to 1.6.2 (#335)

Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.6.1...v1.6.2)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoFix misleading comments in FileFilterTest #334.
Gary Gregory [Wed, 16 Mar 2022 19:25:10 +0000 (15:25 -0400)] 
Fix misleading comments in FileFilterTest #334.

2 months ago(doc) - fix misleading comments (#334)
richarda23 [Wed, 16 Mar 2022 19:23:57 +0000 (19:23 +0000)] 
(doc) - fix misleading comments (#334)

Co-authored-by: richard <ra22597@gmail.com>
2 months agoBump spotbugs from 4.5.3 to 4.6.0 #332
Gary Gregory [Fri, 11 Mar 2022 03:59:33 +0000 (22:59 -0500)] 
Bump spotbugs from 4.5.3 to 4.6.0 #332

2 months agoBump spotbugs from 4.5.3 to 4.6.0 (#332)
dependabot[bot] [Fri, 11 Mar 2022 03:43:12 +0000 (22:43 -0500)] 
Bump spotbugs from 4.5.3 to 4.6.0 (#332)

Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.5.3 to 4.6.0.
- [Release notes](https://github.com/spotbugs/spotbugs/releases)
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.5.3...4.6.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump mockito-inline from 4.3.1 to 4.4.0 #331
Gary Gregory [Fri, 11 Mar 2022 03:24:59 +0000 (22:24 -0500)] 
Bump mockito-inline from 4.3.1 to 4.4.0 #331

2 months agoBump mockito-inline from 4.3.1 to 4.4.0 (#331)
dependabot[bot] [Fri, 11 Mar 2022 03:23:33 +0000 (22:23 -0500)] 
Bump mockito-inline from 4.3.1 to 4.4.0 (#331)

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-inline
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoReplace package with verify in the default goal.
Gary Gregory [Fri, 4 Mar 2022 14:58:05 +0000 (09:58 -0500)] 
Replace package with verify in the default goal.

2 months agoBump actions/checkout from 2 to 3
dependabot[bot] [Fri, 4 Mar 2022 00:01:15 +0000 (00:01 +0000)] 
Bump actions/checkout from 2 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agoBump junit-pioneer from 1.5.0 to 1.6.1 (#328)
dependabot[bot] [Fri, 25 Feb 2022 04:41:08 +0000 (23:41 -0500)] 
Bump junit-pioneer from 1.5.0 to 1.6.1 (#328)

Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.5.0...v1.6.1)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months agoMove ctor.
Gary Gregory [Tue, 15 Feb 2022 18:52:11 +0000 (13:52 -0500)] 
Move ctor.

3 months agoJavadoc.
Gary Gregory [Sun, 13 Feb 2022 16:31:33 +0000 (11:31 -0500)] 
Javadoc.

3 months agoUse NIO to test NIO.
Gary Gregory [Sun, 13 Feb 2022 15:09:27 +0000 (10:09 -0500)] 
Use NIO to test NIO.

3 months agoRemove @SuppressWarnings, not needed.
Gary Gregory [Sat, 12 Feb 2022 18:30:42 +0000 (13:30 -0500)] 
Remove @SuppressWarnings, not needed.

3 months agoNull-safety when calling PathUtils.createParentDirectories() with a
Gary Gregory [Sat, 12 Feb 2022 18:22:09 +0000 (13:22 -0500)] 
Null-safety when calling PathUtils.createParentDirectories() with a
LinkOption not equal to NOFOLLOW_LINKS and the path is a root path which
means it has a null parent.

3 months agoBump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0
dependabot[bot] [Fri, 11 Feb 2022 00:27:27 +0000 (00:27 +0000)] 
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.2.0 to 4.5.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.2.0...spotbugs-maven-plugin-4.5.3.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agoDrop TravisCI badge.
Gary Gregory [Thu, 10 Feb 2022 19:43:57 +0000 (14:43 -0500)] 
Drop TravisCI badge.

3 months agoImprove ReaderInputStream documentation #291.
Gary Gregory [Mon, 7 Feb 2022 12:28:19 +0000 (07:28 -0500)] 
Improve ReaderInputStream documentation #291.

3 months agoImprove `ReaderInputStream` documentation (#291)
Marcono1234 [Mon, 7 Feb 2022 12:27:20 +0000 (13:27 +0100)] 
Improve `ReaderInputStream` documentation (#291)

* [IO-715] Mention ReaderInputStream behavior regarding CharsetEncoder.reset()

* [IO-713] Remove incorrect documentation about ReaderInputStream.available()

* (doc) Describe default CodingErrorAction of ReaderInputStream

* (doc) Close <p> tags in ReaderInputStream documentation

* Remove redundant ReaderInputStream.available() override again

3 months agoUpdate tests to use Files.createSymbolicLink() instead of
Gary Gregory [Sun, 6 Feb 2022 22:37:04 +0000 (17:37 -0500)] 
Update tests to use Files.createSymbolicLink() instead of
Runtime.getRuntime().exec() to create symbolic link fixtures.

Also fixes two CodeQL issues.

3 months agoAdd CodeQL badge.
Gary Gregory [Sun, 6 Feb 2022 22:34:29 +0000 (17:34 -0500)] 
Add CodeQL badge.

3 months agoFix CodeQL issue.
Gary Gregory [Sun, 6 Feb 2022 22:22:23 +0000 (17:22 -0500)] 
Fix CodeQL issue.

3 months agoJavadoc.
Gary Gregory [Sun, 6 Feb 2022 22:16:36 +0000 (17:16 -0500)] 
Javadoc.

3 months ago[IO-758] Deprecate PathUtils.NOFOLLOW_LINK_OPTION_ARRAY in favor of
Gary Gregory [Sun, 6 Feb 2022 21:55:31 +0000 (16:55 -0500)] 
[IO-758] Deprecate PathUtils.NOFOLLOW_LINK_OPTION_ARRAY in favor of
noFollowLinkOptionArray().

3 months agoBump japicmp-maven-plugin from 0.15.3 to 0.15.6.
Gary Gregory [Sun, 6 Feb 2022 20:21:09 +0000 (15:21 -0500)] 
Bump japicmp-maven-plugin from 0.15.3 to 0.15.6.

3 months agoBump com.puppycrawl.tools:checkstyle 9.2.1 -> 9.3.
Gary Gregory [Sun, 6 Feb 2022 20:11:02 +0000 (15:11 -0500)] 
Bump com.puppycrawl.tools:checkstyle 9.2.1 -> 9.3.

3 months agoAdd final and remove useless parentheses.
Gary Gregory [Sun, 6 Feb 2022 19:57:26 +0000 (14:57 -0500)] 
Add final and remove useless parentheses.

3 months agoRestore some behavior based on findings described in
Gary Gregory [Sun, 6 Feb 2022 19:38:13 +0000 (14:38 -0500)] 
Restore some behavior based on findings described in
https://github.com/apache/commons-io/pull/324

3 months agoAdd PathUtils.createParentDirectories(Path, LinkOption,
Gary Gregory [Sun, 6 Feb 2022 16:42:12 +0000 (11:42 -0500)] 
Add PathUtils.createParentDirectories(Path, LinkOption,
FileAttribute<?>...)

3 months agoFix formatting.
Gary Gregory [Sun, 6 Feb 2022 16:40:42 +0000 (11:40 -0500)] 
Fix formatting.

3 months agoDrop extra whitespace.
Gary Gregory [Sun, 6 Feb 2022 16:09:04 +0000 (11:09 -0500)] 
Drop extra whitespace.

3 months agoDocument test fixtures.
Gary Gregory [Sun, 6 Feb 2022 15:53:01 +0000 (10:53 -0500)] 
Document test fixtures.

3 months agoAdd green unit test, slightly modified, from
Gary Gregory [Sun, 6 Feb 2022 15:32:11 +0000 (10:32 -0500)] 
Add green unit test, slightly modified, from
https://github.com/apache/commons-io/pull/324 by chadlwilson.

3 months agoIOCase.isCaseSensitive(IOCase) result is backward #325
Gary Gregory [Sun, 6 Feb 2022 15:19:59 +0000 (10:19 -0500)] 
IOCase.isCaseSensitive(IOCase) result is backward #325

Move test method to proper location.

3 months agoIOCase.isCaseSensitive(IOCase) result is backward (#325)
David Huang [Sun, 6 Feb 2022 15:17:40 +0000 (23:17 +0800)] 
IOCase.isCaseSensitive(IOCase) result is backward (#325)

* Handle static method isCaseSensitive of class IOCase.

* Update RegexFileFilter.java

Change the order of import statements, which the IDE automatically changes.

* Add a test of static method isCaseSensitive in class IOCaseTest.

Co-authored-by: huangxiaowei <huangxw@newland.com.cn>