{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/40","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/40/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/40/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/40","id":59363658,"number":40,"title":"prediction sample: \"Training (hasn't) has not completed.\"","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-28T22:53:30Z","updated_at":"2015-02-28T22:53:30Z","closed_at":"2015-02-28T22:53:30Z","body":"```\nIn the current version of:\n\nhg/ prediction-json-clientlogin-sample/ src/ com/ google/ api/ client/ sample/ \nprediction/ PredictionSample.java\n\nchecked-in by: \tYaniv Inbar \n\non line 91, it says:\n\nif (\"Training hasn't completed.\".equals(checkTraining.modelinfo)) {\n\nbut, in fact, Google returns this string if training hasn't finished:\n\n\"modelinfo\":\"Training has not completed.\"\n\ni.e., \"has not\" instead of \"hasn't\".\n\n\n\n```\n\nOriginal issue reported on code.google.com by `Sheryl....@gmail.com` on 8 Oct 2010 at 11:52"}}