You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Andras Katona (Jira)" <ji...@apache.org> on 2023/02/27 14:26:00 UTC

[jira] [Commented] (KAFKA-14041) Avoid the keyword var for a variable declaration in ConfigTransformer

    [ https://issues.apache.org/jira/browse/KAFKA-14041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694048#comment-17694048 ] 

Andras Katona commented on KAFKA-14041:
---------------------------------------

Java compiler doesn't mind. {{var}} can be used as variable name.

> Avoid the keyword var for a variable declaration in ConfigTransformer
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-14041
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14041
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: QualiteSys QualiteSys
>            Priority: Major
>
> In the file clients\src\main\java\org\apache\kafka\common\config\ConfigTransformer.java a variable named var is declared :
> line 84 : for (ConfigVariable var : vars) {
> Since it is a java keyword, could the variable name be changed ?
> Thanks



--
This message was sent by Atlassian Jira
(v8.20.10#820010)