diff options
author | Martin Stockhammer <martin_s@apache.org> | 2018-04-01 12:28:28 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2018-04-01 12:28:28 +0200 |
commit | b3335cf6e50adeea3600e165585e146e1524ea3a (patch) | |
tree | 9174af676a73af30be57f555e0a10549c66f8249 /archiva-modules/archiva-base/archiva-transaction | |
parent | f8a9bc1640ddbe2748eb7bc8e68b4dd3dd84fa51 (diff) | |
download | archiva-b3335cf6e50adeea3600e165585e146e1524ea3a.tar.gz archiva-b3335cf6e50adeea3600e165585e146e1524ea3a.zip |
Changes to avoid compile warnings
Diffstat (limited to 'archiva-modules/archiva-base/archiva-transaction')
-rw-r--r-- | archiva-modules/archiva-base/archiva-transaction/src/test/java/org/apache/archiva/transaction/AbstractFileEventTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-transaction/src/test/java/org/apache/archiva/transaction/AbstractFileEventTest.java b/archiva-modules/archiva-base/archiva-transaction/src/test/java/org/apache/archiva/transaction/AbstractFileEventTest.java index 0905c477c..fd6c45143 100644 --- a/archiva-modules/archiva-base/archiva-transaction/src/test/java/org/apache/archiva/transaction/AbstractFileEventTest.java +++ b/archiva-modules/archiva-base/archiva-transaction/src/test/java/org/apache/archiva/transaction/AbstractFileEventTest.java @@ -89,7 +89,7 @@ public abstract class AbstractFileEventTest protected String readFile( Path file ) throws IOException { - return FileUtils.readFileToString( file.toFile() ); + return FileUtils.readFileToString( file.toFile(), Charset.forName( "UTF-8" ) ); } protected void writeFile( Path file, String content ) |