[
https://issues.apache.org/jira/browse/BEAM-10556?focusedWorklogId=507706&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-507706
]
ASF GitHub Bot logged work on BEAM-10556:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Nov/20 18:13
Start Date: 04/Nov/20 18:13
Worklog Time Spent: 10m
Work Description: kennknowles commented on pull request #13261:
URL: https://github.com/apache/beam/pull/13261#issuecomment-721891968
R: @tysonjh
I saw you fix a rawtype in your pull request and it reminded me. I was very
happy with the result of doing this with nullness checks.
----------------------------------------------------------------
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: 507706)
Time Spent: 3h 50m (was: 3h 40m)
> Eliminate rawtype errors from Beam Java
> ---------------------------------------
>
> Key: BEAM-10556
> URL: https://issues.apache.org/jira/browse/BEAM-10556
> Project: Beam
> Issue Type: Improvement
> Components: io-java-amqp, io-java-avro, io-java-aws, io-java-azure,
> io-java-cassandra, io-java-clickhouse, io-java-elasticsearch, io-java-files,
> io-java-gcp, io-java-hadoop-file-system, io-java-hadoop-format,
> io-java-hbase, io-java-hcatalog, io-java-jdbc, io-java-jms, io-java-kafka,
> io-java-kinesis, io-java-kudu, io-java-mongodb, io-java-mqtt,
> io-java-parquet, io-java-rabbitmq, io-java-redis, io-java-solr, io-java-text,
> io-java-tfrecord, io-java-tika, io-java-utilities, io-java-xml,
> sdk-java-core, sdk-java-harness
> Reporter: Kenneth Knowles
> Priority: P3
> Labels: Clarified, starter
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> A few modules used to have no rawtype errors. Now many of them do. Rawtypes
> are a legacy compatibility feature that should not be used in new code.
> Concretely, they obscure types (readability), mask errors (casts failing at
> runtime), and harm static analysis (checker framework recommends eliminating
> rawtypes as your first step)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)