{"action":"created","issue":{"url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/661","labels_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/661/comments","events_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/661/events","html_url":"https://github.com/simpligility/android-maven-plugin/pull/661","id":97594408,"number":661,"title":"Fix duplicate file detection logic - Issue 660","user":{"login":"andrew-bowley","id":8745176,"avatar_url":"https://avatars.githubusercontent.com/u/8745176?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-bowley","html_url":"https://github.com/andrew-bowley","followers_url":"https://api.github.com/users/andrew-bowley/followers","following_url":"https://api.github.com/users/andrew-bowley/following{/other_user}","gists_url":"https://api.github.com/users/andrew-bowley/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-bowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-bowley/subscriptions","organizations_url":"https://api.github.com/users/andrew-bowley/orgs","repos_url":"https://api.github.com/users/andrew-bowley/repos","events_url":"https://api.github.com/users/andrew-bowley/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-bowley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-28T01:49:47Z","updated_at":"2015-09-01T08:52:10Z","closed_at":"2015-08-09T04:02:58Z","pull_request":{"url":"https://api.github.com/repos/simpligility/android-maven-plugin/pulls/661","html_url":"https://github.com/simpligility/android-maven-plugin/pull/661","diff_url":"https://github.com/simpligility/android-maven-plugin/pull/661.diff","patch_url":"https://github.com/simpligility/android-maven-plugin/pull/661.patch"},"body":"The error is occurring in method removeDuplicatesFromJar at line 830 of class ApkMojo in package com.simpligility.maven.plugins.android.phase09package:\r\n\r\nduplicateZos.putNextEntry( entry );\r\n\r\nThe error is genuine in that the ZipEntry \"entry\" is a duplicate. The previous line failed to correctly detect a duplicate because the logic is reversed:\r\n\r\n!duplicatesAdded.add( entry.getName() )\r\n\r\nAPI: HashSet.add() returns true if this set did not already contain the specified element.\r\n\r\nThis change corrects indicated statement at line 828 by removing the exclamation mark in front of \"duplicatessAdded\".\r\n\r\n 1 file changed, 1 insertion(+), 1 deletion(-)"},"comment":{"url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/comments/136639257","html_url":"https://github.com/simpligility/android-maven-plugin/pull/661#issuecomment-136639257","issue_url":"https://api.github.com/repos/simpligility/android-maven-plugin/issues/661","id":136639257,"user":{"login":"Shusshu","id":1760011,"avatar_url":"https://avatars.githubusercontent.com/u/1760011?v=3","gravatar_id":"","url":"https://api.github.com/users/Shusshu","html_url":"https://github.com/Shusshu","followers_url":"https://api.github.com/users/Shusshu/followers","following_url":"https://api.github.com/users/Shusshu/following{/other_user}","gists_url":"https://api.github.com/users/Shusshu/gists{/gist_id}","starred_url":"https://api.github.com/users/Shusshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shusshu/subscriptions","organizations_url":"https://api.github.com/users/Shusshu/orgs","repos_url":"https://api.github.com/users/Shusshu/repos","events_url":"https://api.github.com/users/Shusshu/events{/privacy}","received_events_url":"https://api.github.com/users/Shusshu/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T08:52:10Z","updated_at":"2015-09-01T08:52:10Z","body":"+1 @WonderCsabo "}}