Skip to content

Commit 040bfab

Browse files
authored
Merge pull request #104 from policeman-tools/features/commons-io-improvements
Add some missing methods to commons-io signatures after another review
2 parents d956c11 + 28333bf commit 040bfab

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/main/resources/de/thetaphi/forbiddenapis/signatures/commons-io-unsafe-2.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ org.apache.commons.io.IOUtils#toInputStream(java.lang.CharSequence)
2121
org.apache.commons.io.IOUtils#write(java.lang.CharSequence,java.io.OutputStream)
2222
org.apache.commons.io.output.WriterOutputStream#<init>(java.io.Writer)
2323
org.apache.commons.io.input.ReaderInputStream#<init>(java.io.Reader)
24+
org.apache.commons.io.FileUtils#write(java.io.File,java.lang.CharSequence)

src/main/resources/de/thetaphi/forbiddenapis/signatures/commons-io-unsafe-2.1.txt

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@
1919
@defaultMessage Uses default charset
2020
org.apache.commons.io.IOUtils#toString(java.net.URI)
2121
org.apache.commons.io.IOUtils#toString(java.net.URL)
22+
org.apache.commons.io.FileUtils#write(java.io.File,java.lang.CharSequence,boolean)
23+
org.apache.commons.io.FileUtils#writeLines(java.io.File,java.util.Collection,boolean)
24+
org.apache.commons.io.FileUtils#writeLines(java.io.File,java.util.Collection,java.lang.String,boolean)

src/main/resources/de/thetaphi/forbiddenapis/signatures/commons-io-unsafe-2.2.txt

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@
1515
# limitations under the License.
1616

1717
@includeBundled commons-io-unsafe-2.1
18+
19+
@defaultMessage Uses default charset
20+
org.apache.commons.io.input.ReversedLinesFileReader#<init>(java.io.File)

0 commit comments

Comments
 (0)