{"action":"closed","issue":{"url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/issues/15","repository_url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils","labels_url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/issues/15/comments","events_url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/issues/15/events","html_url":"https://github.com/InfinityRefactoring/infinity-utils/issues/15","id":360584809,"node_id":"MDU6SXNzdWUzNjA1ODQ4MDk=","number":15,"title":"Methods of Resources class with bugs","user":{"login":"ThomasSousa96","id":8549602,"node_id":"MDQ6VXNlcjg1NDk2MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/8549602?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasSousa96","html_url":"https://github.com/ThomasSousa96","followers_url":"https://api.github.com/users/ThomasSousa96/followers","following_url":"https://api.github.com/users/ThomasSousa96/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSousa96/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSousa96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSousa96/subscriptions","organizations_url":"https://api.github.com/users/ThomasSousa96/orgs","repos_url":"https://api.github.com/users/ThomasSousa96/repos","events_url":"https://api.github.com/users/ThomasSousa96/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSousa96/received_events","type":"User","site_admin":false},"labels":[{"id":1049052787,"node_id":"MDU6TGFiZWwxMDQ5MDUyNzg3","url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"ThomasSousa96","id":8549602,"node_id":"MDQ6VXNlcjg1NDk2MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/8549602?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasSousa96","html_url":"https://github.com/ThomasSousa96","followers_url":"https://api.github.com/users/ThomasSousa96/followers","following_url":"https://api.github.com/users/ThomasSousa96/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSousa96/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSousa96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSousa96/subscriptions","organizations_url":"https://api.github.com/users/ThomasSousa96/orgs","repos_url":"https://api.github.com/users/ThomasSousa96/repos","events_url":"https://api.github.com/users/ThomasSousa96/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSousa96/received_events","type":"User","site_admin":false},"assignees":[{"login":"ThomasSousa96","id":8549602,"node_id":"MDQ6VXNlcjg1NDk2MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/8549602?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasSousa96","html_url":"https://github.com/ThomasSousa96","followers_url":"https://api.github.com/users/ThomasSousa96/followers","following_url":"https://api.github.com/users/ThomasSousa96/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSousa96/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSousa96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSousa96/subscriptions","organizations_url":"https://api.github.com/users/ThomasSousa96/orgs","repos_url":"https://api.github.com/users/ThomasSousa96/repos","events_url":"https://api.github.com/users/ThomasSousa96/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSousa96/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/milestones/1","html_url":"https://github.com/InfinityRefactoring/infinity-utils/milestone/1","labels_url":"https://api.github.com/repos/InfinityRefactoring/infinity-utils/milestones/1/labels","id":3635680,"node_id":"MDk6TWlsZXN0b25lMzYzNTY4MA==","number":1,"title":"Version 1","description":"","creator":{"login":"ThomasSousa96","id":8549602,"node_id":"MDQ6VXNlcjg1NDk2MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/8549602?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasSousa96","html_url":"https://github.com/ThomasSousa96","followers_url":"https://api.github.com/users/ThomasSousa96/followers","following_url":"https://api.github.com/users/ThomasSousa96/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSousa96/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSousa96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSousa96/subscriptions","organizations_url":"https://api.github.com/users/ThomasSousa96/orgs","repos_url":"https://api.github.com/users/ThomasSousa96/repos","events_url":"https://api.github.com/users/ThomasSousa96/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSousa96/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":16,"state":"open","created_at":"2018-09-08T15:20:44Z","updated_at":"2018-09-15T23:26:40Z","due_on":"2018-10-31T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-09-15T23:23:02Z","updated_at":"2018-09-15T23:26:40Z","closed_at":"2018-09-15T23:26:40Z","author_association":"MEMBER","body":"# Description\r\n\r\nThe `getFilenameWithoutLocale` method throw `URISyntaxException` when pass an url of a resource that is in a jar\r\n\r\nhttps://github.com/InfinityRefactoring/infinity-utils/blob/fe870b90050f86a27eeec0266dda54b1ad29b855/src/main/java/com/infinityrefactoring/util/io/Resources.java#L43\r\n\r\nIncorrect condition, the correct is: `entryName.startsWith(name) && !entry.isDirectory()`\r\nhttps://github.com/InfinityRefactoring/infinity-utils/blob/fe870b90050f86a27eeec0266dda54b1ad29b855/src/main/java/com/infinityrefactoring/util/io/Resources.java#L122\r\n\r\nIncorrect condiition, the correct is: `f.getPath().contains(name) && !f.isDirectory()`\r\nhttps://github.com/InfinityRefactoring/infinity-utils/blob/fe870b90050f86a27eeec0266dda54b1ad29b855/src/main/java/com/infinityrefactoring/util/io/Resources.java#L129"}}
{"actor":{"display_login":"ThomasSousa96"}}