You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2019/12/26 17:40:45 UTC

[GitHub] [lucene-solr] andyvuong commented on a change in pull request #1117: SOLR-13101: ant precommit fixes

andyvuong commented on a change in pull request #1117: SOLR-13101: ant precommit fixes
URL: https://github.com/apache/lucene-solr/pull/1117#discussion_r361501107
 
 

 ##########
 File path: solr/core/src/java/org/apache/solr/store/blob/client/LocalStorageClient.java
 ##########
 @@ -97,7 +117,7 @@ public void pushCoreMetadata(String sharedStoreName, String blobCoreMetadataName
 
       // Writing to the file assumed atomic, the file cannot be observed midway. Might not hold here but should be the case
       // with a real S3 implementation.
-      try (PrintWriter out = new PrintWriter(blobMetadataFile)){
+      try (PrintWriter out = new PrintWriter(blobMetadataFile, StandardCharsets.UTF_8.name())){
 
 Review comment:
   This only affects core.metadata and not all blob files btw - local storage client is only used for testing purposes so this is fine here too.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org