[
https://issues.apache.org/jira/browse/YARN-7995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sen Zhao updated YARN-7995:
---------------------------
Attachment: YARN-7995.001.patch
> Remove unnecessary boxings and unboxings from PlacementConstraintParser.java
> ----------------------------------------------------------------------------
>
> Key: YARN-7995
> URL: https://issues.apache.org/jira/browse/YARN-7995
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Akira Ajisaka
> Priority: Minor
> Labels: newbie
> Attachments: YARN-7995.001.patch
>
>
> {code}
> String maxCardinalityStr = resetElements.pop();
> Integer max = toInt(maxCardinalityStr);
> String minCardinalityStr = resetElements.pop();
> Integer min = toInt(minCardinalityStr);
> {code}
> {{toInt(String)}} does not return null, so {{Integer}} should be replaced
> with {{int}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]