@@ -579,20 +579,20 @@ public void setGpuVendor(String gpuVendor) {
579579 public JSONObject toJSONObject () {
580580 JSONObject jsonObject = new JSONObject ();
581581 try {
582- jsonObject .put (EMAIL , getEmail ());
583- jsonObject .put (ACTUAL_IMAGE_PATH , getActualImagePath ());
584- jsonObject .put (REMOTE_SERVER_URL , getRemoteServerURL ());
585- jsonObject .put (RECOGNITION_RESULT_TEXT , getRecognitionResultText ());
586- jsonObject .put (DATA_UID , getDataUID ());
587- jsonObject .put (BEHAVIOR_UID , getBehaviorUID ());
588- jsonObject .put (CROWD_ID , getCrowdUID ());
589- jsonObject .put (SELECTED_RECOGNITION_SCENARIO , getSelectedRecognitionScenario ());
590- jsonObject .put (STATE_PARAM , getState () == null ? null : getState ().name ());
591- jsonObject .put (LOCAL_APP_PATH , getLocalAppPath ());
592- jsonObject .put (PREVIEW_RECOGNITION_TEXT , getPreviewRecognitionText ());
593- jsonObject .put (RESULT_URL , getResultURL ());
594- jsonObject .put (GPU , getGPU ());
595- jsonObject .put (GPU_VENDOR , getGpuVendor ());
582+ jsonObject .put (EMAIL , this . getEmail ());
583+ jsonObject .put (ACTUAL_IMAGE_PATH , this . getActualImagePath ());
584+ jsonObject .put (REMOTE_SERVER_URL , this . getRemoteServerURL ());
585+ jsonObject .put (RECOGNITION_RESULT_TEXT , this . getRecognitionResultText ());
586+ jsonObject .put (DATA_UID , this . getDataUID ());
587+ jsonObject .put (BEHAVIOR_UID , this . getBehaviorUID ());
588+ jsonObject .put (CROWD_ID , this . getCrowdUID ());
589+ jsonObject .put (SELECTED_RECOGNITION_SCENARIO , this . getSelectedRecognitionScenario ());
590+ jsonObject .put (STATE_PARAM , this . getState () == null ? null : this . getState ().name ());
591+ jsonObject .put (LOCAL_APP_PATH , this . getLocalAppPath ());
592+ jsonObject .put (PREVIEW_RECOGNITION_TEXT , this . getPreviewRecognitionText ());
593+ jsonObject .put (RESULT_URL , this . getResultURL ());
594+ jsonObject .put (GPU , this . getGpu ());
595+ jsonObject .put (GPU_VENDOR , this . getGpuVendor ());
596596
597597 } catch (JSONException e ) {
598598 AppLogger .logMessage ("ERROR could not serialize app config to json format" );
0 commit comments