{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/squidb/issues/207","repository_url":"https://api.github.com/repos/yahoo/squidb","labels_url":"https://api.github.com/repos/yahoo/squidb/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/squidb/issues/207/comments","events_url":"https://api.github.com/repos/yahoo/squidb/issues/207/events","html_url":"https://github.com/yahoo/squidb/issues/207","id":172890262,"number":207,"title":"Bug on 3.1.1 : causes spaces in a constant, where it shouldn't","user":{"login":"AndroidDeveloperLB","id":5357526,"avatar_url":"https://avatars.githubusercontent.com/u/5357526?v=3","gravatar_id":"","url":"https://api.github.com/users/AndroidDeveloperLB","html_url":"https://github.com/AndroidDeveloperLB","followers_url":"https://api.github.com/users/AndroidDeveloperLB/followers","following_url":"https://api.github.com/users/AndroidDeveloperLB/following{/other_user}","gists_url":"https://api.github.com/users/AndroidDeveloperLB/gists{/gist_id}","starred_url":"https://api.github.com/users/AndroidDeveloperLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndroidDeveloperLB/subscriptions","organizations_url":"https://api.github.com/users/AndroidDeveloperLB/orgs","repos_url":"https://api.github.com/users/AndroidDeveloperLB/repos","events_url":"https://api.github.com/users/AndroidDeveloperLB/events{/privacy}","received_events_url":"https://api.github.com/users/AndroidDeveloperLB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T08:09:15Z","updated_at":"2016-08-24T14:14:56Z","closed_at":null,"body":"This is what the generated file had:\r\n\r\n`    public static final LongProperty ID = new LongProperty(TABLE_MODEL_NAME, \"_id\", PRIMARY KEY AUTOINCREMENT);`\r\n\r\n\r\nAs you can see, \"PRIMARY KEY AUTOINCREMENT\" doesn't have \"_\" , and instead it has spaces.\r\nThis causes this error:\r\nError:(31, 92) error: ')' expected\r\nError:(31, 110) error: <identifier> expected\r\n\r\nHere's the spec file:\r\n\r\n```\r\n@TableModelSpec(className = \"ExperimentEntity\", tableName = \"experiments\", tableConstraint = \"UNIQUE(experimentId)\")\r\npublic class ExperimentSpec {\r\n    public String experimentId, experimentJson;\r\n    public int experimentVersion, experimentLevel;\r\n}\r\n```\r\n\r\nReverting back to version 3.1.0 fixed the issue.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yahoo/squidb/issues/comments/242080161","html_url":"https://github.com/yahoo/squidb/issues/207#issuecomment-242080161","issue_url":"https://api.github.com/repos/yahoo/squidb/issues/207","id":242080161,"user":{"login":"sbosley","id":622224,"avatar_url":"https://avatars.githubusercontent.com/u/622224?v=3","gravatar_id":"","url":"https://api.github.com/users/sbosley","html_url":"https://github.com/sbosley","followers_url":"https://api.github.com/users/sbosley/followers","following_url":"https://api.github.com/users/sbosley/following{/other_user}","gists_url":"https://api.github.com/users/sbosley/gists{/gist_id}","starred_url":"https://api.github.com/users/sbosley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbosley/subscriptions","organizations_url":"https://api.github.com/users/sbosley/orgs","repos_url":"https://api.github.com/users/sbosley/repos","events_url":"https://api.github.com/users/sbosley/events{/privacy}","received_events_url":"https://api.github.com/users/sbosley/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T14:14:56Z","updated_at":"2016-08-24T14:14:56Z","body":"I was actually able to reproduce this. We'll push up a fix shortly."}}
{"actor":{"display_login":"sbosley"}}