private void migrateBrokenLocales(final PreparedStatement preparedStmt, final Map<String, Integer> localeMap) throws SQLException {
        final Integer enUSLocaleID = localeMap.get("en-US");
        if (enUSLocaleID != null && enUSLocaleID > 0) {
            migrateBrokenLocale(preparedStmt, localeMap, "es_US", enUSLocaleID);
            migrateBrokenLocale(preparedStmt, localeMap, "en_AU", enUSLocaleID);
            migrateBrokenLocale(preparedStmt, localeMap, "ar", enUSLocaleID);
            migrateBrokenLocale(preparedStmt, localeMap, "as", enUSLocaleID);
        }
    }
private void migrateBrokenLocales(final PreparedStatement preparedStmt, final Map<String, Integer> localeMap) throws SQLException {
        final Integer enUSLocaleID = localeMap.get("en-US");
        if (enUSLocaleID != null && enUSLocaleID > 0) {
            migrateBrokenLocale(preparedStmt, localeMap, "es_US", enUSLocaleID);
            migrateBrokenLocale(preparedStmt, localeMap, "en_AU", enUSLocaleID);
            migrateBrokenLocale(preparedStmt, localeMap, "ar", enUSLocaleID);
            migrateBrokenLocale(preparedStmt, localeMap, "as", enUSLocaleID);
        }
    }
private void migrateBrokenLocales ( final PreparedStatement preparedStmt , final Map < String , Integer > localeMap ) throws SQLException { final Integer enUSLocaleID = localeMap . get ( "en-US" ) ; if ( enUSLocaleID != null && enUSLocaleID > 0 ) { migrateBrokenLocale ( preparedStmt , localeMap , "es_US" , enUSLocaleID ) ; migrateBrokenLocale ( preparedStmt , localeMap , "en_AU" , enUSLocaleID ) ; migrateBrokenLocale ( preparedStmt , localeMap , "ar" , enUSLocaleID ) ; migrateBrokenLocale ( preparedStmt , localeMap , "as" , enUSLocaleID ) ; } }
Migrates locales from a very early version of PressGang that was using the wrong locale value.

@param preparedStmt
@param localeMap
@throws SQLException
Migrates locales from a very early version of PressGang that was using the wrong locale value .