-
-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Open
Copy link
Description
The StringUtility::capitalize() method expect non-null arguments. This pre-condition should be honored by the callers. The @NonNull should detect some of these inconsistencies at compile time, bit it doesn't cover any case (eg, UI binding' s xml files).
These are some of the places where we are calling the StringUtility::capitalize() function:
app/src/common/shared/com/igalia/wolvic/ui/adapters/Language.java: String displayName = StringUtils.capitalize(locale.getDisplayName());
app/src/common/shared/com/igalia/wolvic/ui/adapters/Language.java: this.displayName = StringUtils.capitalize(displayName);
app/src/common/shared/com/igalia/wolvic/ui/widgets/KeyboardWidget.java: items.add(new KeyboardSelectorView.Item(StringUtils.capitalize(keyboard.getKeyboardTitle()), keyboard));
app/src/common/shared/com/igalia/wolvic/utils/LocaleUtils.java: return StringUtils.capitalize(locale.getDisplayLanguage(locale));
app/src/main/res/layout/bookmark_item_folder.xml: android:text="@{StringUtils.capitalize(item.title)}"
Metadata
Metadata
Assignees
Labels
No labels