diff --git a/modules/apps/portal-language/portal-language-rest-impl/src/main/java/com/liferay/portal/language/rest/internal/service/access/policy/LanguagePortalInstanceLifecycleListener.java b/modules/apps/portal-language/portal-language-rest-impl/src/main/java/com/liferay/portal/language/rest/internal/service/access/policy/LanguagePortalInstanceLifecycleListener.java index 946ff803cba561..210cd95f2c2aff 100644 --- a/modules/apps/portal-language/portal-language-rest-impl/src/main/java/com/liferay/portal/language/rest/internal/service/access/policy/LanguagePortalInstanceLifecycleListener.java +++ b/modules/apps/portal-language/portal-language-rest-impl/src/main/java/com/liferay/portal/language/rest/internal/service/access/policy/LanguagePortalInstanceLifecycleListener.java @@ -45,8 +45,8 @@ public void portalInstanceRegistered(Company company) throws Exception { } private void _addSAPEntries(long companyId) throws PortalException { - for (String[] sapEntryObjectArray : _SAP_ENTRY_ARRAYS) { - String name = sapEntryObjectArray[0]; + for (String[] sapEntryArray : _SAP_ENTRY_ARRAYS) { + String name = sapEntryArray[0]; SAPEntry sapEntry = _sapEntryLocalService.fetchSAPEntry( companyId, name); @@ -55,9 +55,9 @@ private void _addSAPEntries(long companyId) throws PortalException { continue; } - String allowedServiceSignatures = sapEntryObjectArray[1]; + String allowedServiceSignatures = sapEntryArray[1]; - String languageKey = sapEntryObjectArray[2]; + String languageKey = sapEntryArray[2]; Map map = ResourceBundleUtil.getLocalizationMap( ResourceBundleLoaderUtil.getPortalResourceBundleLoader(),