Revision c8249cf6
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/scores/RubikScores.java | ||
---|---|---|
292 | 292 |
mName = newName; |
293 | 293 |
} |
294 | 294 |
|
295 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
296 |
|
|
297 |
public void setCountry(String country) |
|
298 |
{ |
|
299 |
mCountry = country; |
|
300 |
|
|
301 |
if( mCountry.equals("do") ) mCountry = "dm"; // see above |
|
302 |
} |
|
303 |
|
|
304 | 295 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
305 | 296 |
|
306 | 297 |
public synchronized boolean isSolved(int object, int size, int level) |
... | ... | |
338 | 329 |
if( mCountry.equals("do") ) mCountry = "dm"; |
339 | 330 |
} |
340 | 331 |
|
332 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
333 |
|
|
334 |
public void setCountry(String country) |
|
335 |
{ |
|
336 |
mCountry = country; |
|
337 |
|
|
338 |
if( mCountry.equals("do") ) mCountry = "dm"; // see above |
|
339 |
} |
|
340 |
|
|
341 | 341 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
342 | 342 |
|
343 | 343 |
public static RubikScores getInstance() |
src/main/java/org/distorted/scores/RubikScoresDownloader.java | ||
---|---|---|
195 | 195 |
int time = Integer.parseInt( row.substring(s3+1,s4) ); |
196 | 196 |
String country = row.substring(s4+1, s5); |
197 | 197 |
|
198 |
if( country.equals("do") ) country = "dm"; // see RubikScores.setCountry() |
|
199 |
|
|
198 | 200 |
if(level>=0 && level<MAX_LEVEL) |
199 | 201 |
{ |
200 | 202 |
int p = mPlaces[object][level]; |
Also available in: Unified diff
New flags: Dominicana and Bahamas.
Fix a bug with displaying the Dominican flag ( a special case! )