vaadin / vaadin-date-picker-flow

Vaadin Flow Java API for vaadin/vaadin-date-picker Web Component
https://vaadin.com/components/vaadin-date-picker
Other
1 stars 11 forks source link

Fix Small text field demo heading #254

Closed web-padawan closed 4 years ago

vaadin-bot commented 4 years ago

SonarQube analysis reported 6 issues

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. CRITICAL DatePickerView.java#L67: Define a constant instead of duplicating this literal "Label" 6 times. rule
  2. CRITICAL DatePickerView.java#L77: Define a constant instead of duplicating this literal "margin-right" 5 times. rule
  3. CRITICAL DatePickerView.java#L155: Define a constant instead of duplicating this literal "Validation" 3 times. rule
  4. CRITICAL DatePickerView.java#L187: Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. rule
  5. CRITICAL DatePickerView.java#L334: Define a constant instead of duplicating this literal "theme" 4 times. rule
  6. MAJOR DatePickerView.java#L217: Reduce this lambda expression number of lines from 21 to at most 20. rule