[jira] [Work logged] (BEAM-9453) Fix potential UnsupportedEncodingException
[ https://issues.apache.org/jira/browse/BEAM-9453?focusedWorklogId=398694&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398694 ] ASF GitHub Bot logged work on BEAM-9453: Author: ASF GitHub Bot Created on: 05/Mar/20 21:17 Start Date: 05/Mar/20 21:17 Worklog Time Spent: 10m Work Description: alexvanboxel commented on issue #11017: [BEAM-9453] Fix potential UnsupportedEncodingException URL: https://github.com/apache/beam/pull/11017#issuecomment-595452062 > @alexvanboxel it causes broken jenkins test in spotless check on master branch > > https://builds.apache.org/job/beam_PreCommit_Spotless_Commit/7888/console sorry, should have seen that it didn't have tests attached. 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 398694) Time Spent: 40m (was: 0.5h) > Fix potential UnsupportedEncodingException > -- > > Key: BEAM-9453 > URL: https://issues.apache.org/jira/browse/BEAM-9453 > Project: Beam > Issue Type: Improvement > Components: io-java-rabbitmq >Affects Versions: 2.16.0 >Reporter: Henry Tang >Priority: Trivial > Labels: pull-request-available > Fix For: Not applicable > > Original Estimate: 0h > Time Spent: 40m > Remaining Estimate: 0h > > Currently the code assigns a new string with > {code:java} > String s = new String(bytes, "UTF-8"); > {code} > This has the possibility of throwing an UnsupportedEncodingException. > > Using > {code:java} > new String(bytes, StandardCharsets.UTF_8){code} > avoids the possibility of throwing an UnsupportedEncodingException > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-9453) Fix potential UnsupportedEncodingException
[ https://issues.apache.org/jira/browse/BEAM-9453?focusedWorklogId=398629&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398629 ] ASF GitHub Bot logged work on BEAM-9453: Author: ASF GitHub Bot Created on: 05/Mar/20 19:44 Start Date: 05/Mar/20 19:44 Worklog Time Spent: 10m Work Description: vectorijk commented on issue #11017: [BEAM-9453] Fix potential UnsupportedEncodingException URL: https://github.com/apache/beam/pull/11017#issuecomment-595412338 @alexvanboxel it causes broken jenkins test in spotless check on master branch https://builds.apache.org/job/beam_PreCommit_Spotless_Commit/7888/console 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 398629) Time Spent: 0.5h (was: 20m) > Fix potential UnsupportedEncodingException > -- > > Key: BEAM-9453 > URL: https://issues.apache.org/jira/browse/BEAM-9453 > Project: Beam > Issue Type: Improvement > Components: io-java-rabbitmq >Affects Versions: 2.16.0 >Reporter: Henry Tang >Priority: Trivial > Labels: pull-request-available > Fix For: Not applicable > > Original Estimate: 0h > Time Spent: 0.5h > Remaining Estimate: 0h > > Currently the code assigns a new string with > {code:java} > String s = new String(bytes, "UTF-8"); > {code} > This has the possibility of throwing an UnsupportedEncodingException. > > Using > {code:java} > new String(bytes, StandardCharsets.UTF_8){code} > avoids the possibility of throwing an UnsupportedEncodingException > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-9453) Fix potential UnsupportedEncodingException
[ https://issues.apache.org/jira/browse/BEAM-9453?focusedWorklogId=398543&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398543 ] ASF GitHub Bot logged work on BEAM-9453: Author: ASF GitHub Bot Created on: 05/Mar/20 17:35 Start Date: 05/Mar/20 17:35 Worklog Time Spent: 10m Work Description: alexvanboxel commented on pull request #11017: [BEAM-9453] Fix potential UnsupportedEncodingException URL: https://github.com/apache/beam/pull/11017 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 398543) Time Spent: 20m (was: 10m) > Fix potential UnsupportedEncodingException > -- > > Key: BEAM-9453 > URL: https://issues.apache.org/jira/browse/BEAM-9453 > Project: Beam > Issue Type: Improvement > Components: io-java-rabbitmq >Affects Versions: 2.16.0 >Reporter: Henry Tang >Priority: Trivial > Labels: pull-request-available > Fix For: Not applicable > > Original Estimate: 0h > Time Spent: 20m > Remaining Estimate: 0h > > Currently the code assigns a new string with > {code:java} > String s = new String(bytes, "UTF-8"); > {code} > This has the possibility of throwing an UnsupportedEncodingException. > > Using > {code:java} > new String(bytes, StandardCharsets.UTF_8){code} > avoids the possibility of throwing an UnsupportedEncodingException > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (BEAM-9453) Fix potential UnsupportedEncodingException
[ https://issues.apache.org/jira/browse/BEAM-9453?focusedWorklogId=398516&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398516 ] ASF GitHub Bot logged work on BEAM-9453: Author: ASF GitHub Bot Created on: 05/Mar/20 17:18 Start Date: 05/Mar/20 17:18 Worklog Time Spent: 10m Work Description: Hk-tang commented on issue #11017: [BEAM-9453] Fix potential UnsupportedEncodingException URL: https://github.com/apache/beam/pull/11017#issuecomment-595345916 A Jira ticket has been created and the commit message has been updated 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 398516) Time Spent: 10m > Fix potential UnsupportedEncodingException > -- > > Key: BEAM-9453 > URL: https://issues.apache.org/jira/browse/BEAM-9453 > Project: Beam > Issue Type: Improvement > Components: io-java-rabbitmq >Affects Versions: 2.16.0 >Reporter: Henry Tang >Priority: Trivial > Labels: pull-request-available > Fix For: Not applicable > > Original Estimate: 0h > Time Spent: 10m > Remaining Estimate: 0h > > Currently the code assigns a new string with > {code:java} > String s = new String(bytes, "UTF-8"); > {code} > This has the possibility of throwing an UnsupportedEncodingException. > > Using > {code:java} > new String(bytes, StandardCharsets.UTF_8){code} > avoids the possibility of throwing an UnsupportedEncodingException > -- This message was sent by Atlassian Jira (v8.3.4#803005)