{ "id": "145244", "key": "TIMOB-18621", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-02-27T18:56:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:36.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "We have several different coding standards in use that may or may not differ from our official standards, and are somewhat different from our other languages:\r\n\r\nhttps://wiki.appcelerator.org/display/guides2/Java+Coding+Standards\r\n\r\nSome highlights of cross-language similarity I'd like to achieve:\r\n\r\n* Tabs\r\n* Opening brace on new line, except blocks and flow control\r\n* Closing brace on new line (except blocks and flow control, i.e. } else {)\r\n* Max line length of 120 (to fit within a normal GitHub review window)\r\n\r\nA proposed formatting file for Eclipse can be found here:\r\n\r\nhttps://github.com/appcelerator/appc-standards/blob/master/languages/java/eclipse-format.xml\r\n\r\nAnd below are two examples of what this would change in our code:\r\n\r\n* Studio: https://github.com/aptana/studio3/pull/297\r\n* Titanium: https://github.com/appcelerator/titanium_mobile/pull/6668\r\n\r\n", "attachment": [], "flagged": false, "summary": "Consolidate Java coding standards", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "344602", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cwilliams] [~pinnamuri] [~kkolipaka] [~hpham] [~pec1985]\r\n\r\nThoughts appreciated.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-27T19:05:09.000+0000", "updated": "2015-02-27T19:05:09.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }