vaadin / flow-components

Java counterpart of Vaadin Web Components
100 stars 66 forks source link

refactor: combine null check and assignment for i18n object #6356

Closed vursen closed 3 months ago

vursen commented 3 months ago

Description

The PR combines the null check and assignment for the i18n object in the setI18n methods into a single line to make the code slightly more concise.

Type of change

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
23.5% Duplication on New Code

See analysis details on SonarCloud