You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/04/12 11:32:05 UTC

[maven-shade-plugin] branch util created (now 5a2a8cb)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch util
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git.


      at 5a2a8cb  replace deprecated method

This branch includes the following new commits:

     new 5a2a8cb  replace deprecated method

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-shade-plugin] 01/01: replace deprecated method

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch util
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git

commit 5a2a8cb75dab913691a93d613123b6130d072f81
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Apr 12 07:30:45 2020 -0400

    replace deprecated method
---
 .../maven/plugins/shade/resource/ServicesResourceTransformer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/shade/resource/ServicesResourceTransformer.java b/src/main/java/org/apache/maven/plugins/shade/resource/ServicesResourceTransformer.java
index 7e5d3a6..76407ab 100644
--- a/src/main/java/org/apache/maven/plugins/shade/resource/ServicesResourceTransformer.java
+++ b/src/main/java/org/apache/maven/plugins/shade/resource/ServicesResourceTransformer.java
@@ -71,7 +71,7 @@ public class ServicesResourceTransformer
             serviceEntries.put( resource, out );
         }
 
-        final String content = IOUtils.toString( is );
+        final String content = IOUtils.toString( is, StandardCharsets.UTF_8 );
         StringReader reader = new StringReader( content );
         BufferedReader lineReader = new BufferedReader( reader );
         String line;