Source:
<code><START> protected RepositoryFile getLocaleParent( RepositoryFileImportBundle locale, Properties localePropertiesFromIndex ) { <END> if ( unifiedRepository == null ) { return null; } RepositoryFile localeParent = null; String localeFileName = locale.getName(); if ( locale.getFile() != null ) { localeFileName = locale.getFile().getName(); } RepositoryFile localeFolder = unifiedRepository.getFile( locale.getPath() ); if ( isLocaleFolder( localeFileName, localePropertiesFromIndex ) ) { localeParent = localeFolder; } else if ( localeFolder != null ) { List<RepositoryFile> localeFolderChildren = unifiedRepository.getChildren( localeFolder.getId() ); for ( RepositoryFile localeChild : localeFolderChildren ) { String localeChildName = extractFileName( localeChild.getName() ); String localeChildExtension = extractExtension( localeChild.getName() ); boolean localeFileNameAlsoContainsFileExtension = checkIfLocaleFileNameAlsoContainsAFileExtension( localeFileName ); if ( localeFileNameAlsoContainsFileExtension ) { String localeFileExtension = FilenameUtils.getExtension( FilenameUtils.getBaseName( localeFileName ) ); String localeFileNameWithoutExtensions = FilenameUtils.getBaseName( FilenameUtils.getBaseName( localeFileName ) ); if ( localeFileExtension.contains( "_" ) ) { localeFileExtension = localeFileExtension.substring( 0, localeFileExtension.indexOf( "_" ) ); } if ( localeFileNameWithoutExtensions.equals( localeChildName ) && localeFileExtension.equalsIgnoreCase( localeChildExtension ) && artifacts.contains( localeChildExtension ) ) { localeParent = localeChild; break; } } else if ( ( extractFileName( localeFileName ).equals( localeChildName ) || ( extractFileNameWithLocalization( localeFileName ).equals( localeChildName ) ) ) && artifacts.contains( localeChildExtension ) ) { localeParent = localeChild; break; } } } return localeParent; }</code><technical_language>here, remove access modifier add attribute</technical_language>

Target:
RepositoryFile getLocaleParent( RepositoryFileImportBundle locale, Properties localePropertiesFromIndex ) { if ( unifiedRepository == null ) { return null; } RepositoryFile localeParent = null; String localeFileName = locale.getName(); if ( locale.getFile() != null ) { localeFileName = locale.getFile().getName(); } RepositoryFile localeFolder = unifiedRepository.getFile( locale.getPath() ); if ( isLocaleFolder( localeFileName, localePropertiesFromIndex ) ) { localeParent = localeFolder; } else if ( localeFolder != null ) { List<RepositoryFile> localeFolderChildren = unifiedRepository.getChildren( localeFolder.getId() ); for ( RepositoryFile localeChild : localeFolderChildren ) { String localeChildName = extractFileName( localeChild.getName() ); String localeChildExtension = extractExtension( localeChild.getName() ); boolean localeFileNameAlsoContainsFileExtension = checkIfLocaleFileNameAlsoContainsAFileExtension( localeFileName ); if ( localeFileNameAlsoContainsFileExtension ) { String localeFileExtension = FilenameUtils.getExtension( FilenameUtils.getBaseName( localeFileName ) ); String localeFileNameWithoutExtensions = FilenameUtils.getBaseName( FilenameUtils.getBaseName( localeFileName ) ); if ( localeFileExtension.contains( "_" ) ) { localeFileExtension = localeFileExtension.substring( 0, localeFileExtension.indexOf( "_" ) ); } if ( localeFileNameWithoutExtensions.equals( localeChildName ) && localeFileExtension.equalsIgnoreCase( localeChildExtension ) && artifacts.contains( localeChildExtension ) ) { localeParent = localeChild; break; } } else if ( ( extractFileName( localeFileName ).equals( localeChildName ) || ( extractFileNameWithLocalization( localeFileName ).equals( localeChildName ) ) ) && artifacts.contains( localeChildExtension ) ) { localeParent = localeChild; break; } } } return localeParent; }