{ "id": "61667", "key": "TIMOB-1035", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:01.000+0000", "created": "2011-04-15T02:42:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

The current implementation always expects a default for each\ngetXXXX() method instead of treating as a default. getXXXX()\nmethods should acccept and Object[] and deal with the optional\nparam correctly as documented in the API docs.

{html}", "attachment": [], "flagged": false, "summary": "Android: Properties API always expects default value", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124612", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The java implementation needs to change to be getXXXX(Object[]\nargs); Inside the method you need to verify that it has at least\none argument the \"key\" and optionally a default value.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:01.000+0000", "updated": "2011-04-15T02:42:01.000+0000" }, { "id": "124613", "author": { "name": "matthewlenton", "key": "matthewlenton", "displayName": "Matthew Lenton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Don, can you point toward the particular API docs as referenced\nin the initial ticket detail?

\n

I think I know what you mean though just need a little more\ndetail in determining the scope for this ticket.

{html}", "updateAuthor": { "name": "matthewlenton", "key": "matthewlenton", "displayName": "Matthew Lenton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:01.000+0000", "updated": "2011-04-15T02:42:01.000+0000" }, { "id": "124614", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Ti.App.Properties. Specifically PropertiesModule.java

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:01.000+0000", "updated": "2011-04-15T02:42:01.000+0000" }, { "id": "124615", "author": { "name": "dasher", "key": "dasher", "displayName": "Dasher", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I needed this for something else I'm working on - \nhttp://github.com/dasher/titanium_mobile/commit/8f7cb0a3bf8283bc461...

{html}", "updateAuthor": { "name": "dasher", "key": "dasher", "displayName": "Dasher", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:02.000+0000", "updated": "2011-04-15T02:42:02.000+0000" }, { "id": "124616", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [66472312aeb03c97bfdeb32d50c252347173e3ac])\nAllowed the properties API to function without needing a default to\nbe passed & added a helper to TiProperties to detect if a list\nexists or not [#1035 state:resolved] \nhttp://github.com/appcelerator/titanium_mobile/commit/66472312aeb03...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:02.000+0000", "updated": "2011-04-15T02:42:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }