{ "id": "171942", "key": "TIMOB-26218", "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": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-08-24T01:19:58.000+0000", "created": "2018-07-19T21:21:58.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "scanner", "string" ], "versions": [], "issuelinks": [ { "id": "56698", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "171930", "key": "TIMOB-26212", "fields": { "summary": "Android: ABC Veracode security report", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-24T01:20:02.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": "*Summary:*\r\nThe Veracode scanner has sighted the following string equality/comparison issues in Titanium's Android Java code...\r\n\r\n||Class||Line||Description||\r\n|MediaModule.java|729|Member variable {{intentType}} should use {{equals()}} instead of {{==}}|\r\n|TiBlob.java|263|Member variable {{mimeType}} should use {{equals()}} instead of {{==}}.|\r\n|TiBlob.java|421|Member variable {{mimeType}} should use {{! equals()}} instead of {{!=}}.|\r\n|TiCameraActivity.java|413|Member variable {{mediaType}} should use {{equals()}} instead of {{==}}.|\r\n|TiCameraActivity.java|682|Member variable {{mediaType}} should use {{equals()}} instead of {{==}}.|\r\n\r\nNote that there are no bugs in the above code.\r\n\r\nString reference equality happens to work for the way it's written, but we should change to use {{equals()}} to avoid potential bugs in the future.\r\n", "attachment": [], "flagged": false, "summary": "Android: Resolve Veracode string equality warnings", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1053, "state": "closed", "name": "2018 Sprint 15 SDK", "startDate": "2018-07-15T21:52:05.453Z", "endDate": "2018-07-29T21:52:00.000Z", "completeDate": "2018-07-29T22:25:11.723Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "439459", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/10208", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-25T03:36:01.000+0000", "updated": "2018-07-25T03:36:01.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }