[ 
https://issues.apache.org/jira/browse/BEAM-11327?focusedWorklogId=528184&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-528184
 ]

ASF GitHub Bot logged work on BEAM-11327:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Dec/20 15:30
            Start Date: 24/Dec/20 15:30
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit commented on pull request #13410:
URL: https://github.com/apache/beam/pull/13410#issuecomment-750911509


   @iemejia We do have a rule that stops you from using APIs that use the 
default charset implicitly (e.g. `String.getBytes()`), but it doesn't have a 
problem with the explicit `String.getBytes(Charset.defaultCharset())`. Maybe we 
could have a rule that blocks even Charset.defaultCharset() and require it to 
be suppressed


----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 528184)
    Time Spent: 2h 20m  (was: 2h 10m)

> Replace Charset.defaultCharset() with StandardCharsets.UTF_8
> ------------------------------------------------------------
>
>                 Key: BEAM-11327
>                 URL: https://issues.apache.org/jira/browse/BEAM-11327
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Omar Ismail
>            Assignee: Omar Ismail
>            Priority: P2
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> When running tests where `getBytes(Charset.defaultCharset())` is called, and 
> `locale` is not set to "UTF8", the test fails.
>  
> I am going to replace all mentions of `Charset.defaultCharset()` to 
> `StandardCharsets.UTF_8` so testing is not affected my computer settings.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to