void (@Nullable String stringUrl, @Nullable String username) { if (StringUtil.isEmptyOrSpaces(stringUrl)) { return; } if (username == null) { username = ""; } myState.myRememberedUserNames.put(stringUrl, username); }