Project

General

Profile

« Previous | Next » 

Revision 5e048300

Added by Leszek Koltunski about 2 years ago

Fix for a bug when in Turkey and Azerbaijan, the names of downloaded objects which contain the letter 'I' do not get translated to upper case correctly (part 2: fix 'toLowerCase()' )

View differences:

src/main/java/org/distorted/objects/RubikObjectList.java
20 20
package org.distorted.objects;
21 21

  
22 22
import java.util.ArrayList;
23
import java.util.Locale;
23 24

  
24 25
import android.content.Context;
25 26
import android.content.SharedPreferences;
......
454 455
    {
455 456
    if( mThis==null ) mThis = new RubikObjectList();
456 457

  
457
    String lowerName = name.toLowerCase();
458
    String lowerName = name.toLowerCase(Locale.ENGLISH);
458 459

  
459 460
    for(int i=0; i<mNumObjects; i++)
460 461
      {

Also available in: Unified diff