Skip to content

Commit 494aae9

Browse files
elPeirettijavier-godoy
authored andcommitted
style: fix code formatting
1 parent adab386 commit 494aae9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/flowingcode/vaadin/addons/localecombobox/LocaleComboBox.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class LocaleComboBox extends ComboBox<Locale> {
5252
* These enums can be used in {@link #setDisplayMode(DisplayMode)} to easily switch between the
5353
* built-in display modes.
5454
*/
55-
public enum DisplayMode {
55+
public enum DisplayMode {
5656

5757
/**
5858
* Default display mode.
@@ -199,8 +199,9 @@ private String getFlagCode(Locale locale) {
199199

200200
private void onValueChange(ComponentValueChangeEvent<ComboBox<Locale>, Locale> event) {
201201

202-
if (!this.hasFlags)
202+
if (!this.hasFlags) {
203203
return;
204+
}
204205

205206
Locale newValue = event.getValue();
206207
this.setPrefixFlag(newValue);

0 commit comments

Comments
 (0)