{"action":"closed","issue":{"url":"https://api.github.com/repos/maribel1995/Source-Code-Inspection/issues/9","repository_url":"https://api.github.com/repos/maribel1995/Source-Code-Inspection","labels_url":"https://api.github.com/repos/maribel1995/Source-Code-Inspection/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/maribel1995/Source-Code-Inspection/issues/9/comments","events_url":"https://api.github.com/repos/maribel1995/Source-Code-Inspection/issues/9/events","html_url":"https://github.com/maribel1995/Source-Code-Inspection/issues/9","id":179130928,"number":9,"title":"P9)","user":{"login":"palomaaraujo","id":22193987,"avatar_url":"https://avatars.githubusercontent.com/u/22193987?v=3","gravatar_id":"","url":"https://api.github.com/users/palomaaraujo","html_url":"https://github.com/palomaaraujo","followers_url":"https://api.github.com/users/palomaaraujo/followers","following_url":"https://api.github.com/users/palomaaraujo/following{/other_user}","gists_url":"https://api.github.com/users/palomaaraujo/gists{/gist_id}","starred_url":"https://api.github.com/users/palomaaraujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palomaaraujo/subscriptions","organizations_url":"https://api.github.com/users/palomaaraujo/orgs","repos_url":"https://api.github.com/users/palomaaraujo/repos","events_url":"https://api.github.com/users/palomaaraujo/events{/privacy}","received_events_url":"https://api.github.com/users/palomaaraujo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-26T03:14:42Z","updated_at":"2016-09-26T03:16:37Z","closed_at":"2016-09-26T03:16:37Z","body":"Classe: TicketMachine\r\nDefeito: Papel-Moeda inválido é inserido no valor do saldo.\r\nTipo: Computação\r\n\r\n```\r\npublic void inserir(int quantia) throws PapelMoedaInvalidaException {\r\n        boolean achou = false;\r\n        for (int i = 0; i < papelMoeda.length && !achou; i++) {\r\n            if (papelMoeda[1] == quantia) {\r\n                achou = true;\r\n            }\r\n        }\r\n        if (!achou) {\r\n            throw new PapelMoedaInvalidaException();\r\n        }\r\n        this.saldo += quantia;\r\n    }\r\n```"}}
{"actor":{"display_login":"palomaaraujo"}}