Project

General

Profile

« Previous | Next » 

Revision 0effd5a9

Added by Leszek Koltunski 10 months ago

Remove the generic 'MINOR' object and extras versions from JsonWriter, and replace them with per-ObjectType values. This was the reason why objects which had their 'minor' (really: version) updated to '1' in the server then never updated the jsons with locally stored versions.

View differences:

src/main/java/org/distorted/external/RubikNetwork.java
465 465
    String country = scores.getCountry();
466 466
    String renderer = DistortedLibrary.getDriverRenderer();
467 467
    String version  = DistortedLibrary.getDriverVersion();
468
    int objectAPI   = JsonWriter.VERSION_OBJECT_MAJOR;
469
    int tutorialAPI = JsonWriter.VERSION_EXTRAS_MAJOR;
468
    int objectAPI   = JsonWriter.VERSION_OBJECT_APP;
469
    int tutorialAPI = JsonWriter.VERSION_EXTRAS_APP;
470 470
    int numStars    = scores.getNumStars();
471 471

  
472 472
    renderer = URLencode(renderer);

Also available in: Unified diff