Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Change method name 'localize' to 'createChannelType' #6906

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private ChannelType createLocalizedChannelType(Bundle bundle, ChannelType channe
return cachedEntry;
}

ChannelType localizedChannelType = localize(bundle, channelType, locale);
ChannelType localizedChannelType = createChannelType(bundle, channelType, locale);
if (localizedChannelType != null) {
localizedChannelTypeCache.put(localizedChannelTypeKey, localizedChannelType);
return localizedChannelType;
Expand All @@ -400,7 +400,7 @@ private ChannelType createLocalizedChannelType(Bundle bundle, ChannelType channe
}
}

private @Nullable ChannelType localize(Bundle bundle, ChannelType channelType, Locale locale) {
private @Nullable ChannelType createChannelType(Bundle bundle, ChannelType channelType, Locale locale) {
if (channelTypeI18nLocalizationService == null) {
return null;
}
Expand Down