{"action":"closed","issue":{"url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/issues/169","repository_url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main","labels_url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/issues/169/comments","events_url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/issues/169/events","html_url":"https://github.com/CS2103JAN2018-W10-B3/main/issues/169","id":314345652,"number":169,"title":"Fix code quality in Session.java","user":{"login":"jaxony","id":12774152,"avatar_url":"https://avatars3.githubusercontent.com/u/12774152?v=4","gravatar_id":"","url":"https://api.github.com/users/jaxony","html_url":"https://github.com/jaxony","followers_url":"https://api.github.com/users/jaxony/followers","following_url":"https://api.github.com/users/jaxony/following{/other_user}","gists_url":"https://api.github.com/users/jaxony/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxony/subscriptions","organizations_url":"https://api.github.com/users/jaxony/orgs","repos_url":"https://api.github.com/users/jaxony/repos","events_url":"https://api.github.com/users/jaxony/events{/privacy}","received_events_url":"https://api.github.com/users/jaxony/received_events","type":"User","site_admin":false},"labels":[{"id":874286234,"url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/labels/priority.high","name":"priority.high","color":"5319e7","default":false},{"id":872976500,"url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/labels/refactor","name":"refactor","color":"180987","default":false}],"state":"closed","locked":false,"assignee":{"login":"jaxony","id":12774152,"avatar_url":"https://avatars3.githubusercontent.com/u/12774152?v=4","gravatar_id":"","url":"https://api.github.com/users/jaxony","html_url":"https://github.com/jaxony","followers_url":"https://api.github.com/users/jaxony/followers","following_url":"https://api.github.com/users/jaxony/following{/other_user}","gists_url":"https://api.github.com/users/jaxony/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxony/subscriptions","organizations_url":"https://api.github.com/users/jaxony/orgs","repos_url":"https://api.github.com/users/jaxony/repos","events_url":"https://api.github.com/users/jaxony/events{/privacy}","received_events_url":"https://api.github.com/users/jaxony/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaxony","id":12774152,"avatar_url":"https://avatars3.githubusercontent.com/u/12774152?v=4","gravatar_id":"","url":"https://api.github.com/users/jaxony","html_url":"https://github.com/jaxony","followers_url":"https://api.github.com/users/jaxony/followers","following_url":"https://api.github.com/users/jaxony/following{/other_user}","gists_url":"https://api.github.com/users/jaxony/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxony/subscriptions","organizations_url":"https://api.github.com/users/jaxony/orgs","repos_url":"https://api.github.com/users/jaxony/repos","events_url":"https://api.github.com/users/jaxony/events{/privacy}","received_events_url":"https://api.github.com/users/jaxony/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/milestones/7","html_url":"https://github.com/CS2103JAN2018-W10-B3/main/milestone/7","labels_url":"https://api.github.com/repos/CS2103JAN2018-W10-B3/main/milestones/7/labels","id":3167759,"number":7,"title":"v1.5 Production Release","description":"Presentation:\r\n- Demo @ 10:30am\r\n- 10 minute DEMO (not pitch)","creator":{"login":"samzx","id":27116427,"avatar_url":"https://avatars2.githubusercontent.com/u/27116427?v=4","gravatar_id":"","url":"https://api.github.com/users/samzx","html_url":"https://github.com/samzx","followers_url":"https://api.github.com/users/samzx/followers","following_url":"https://api.github.com/users/samzx/following{/other_user}","gists_url":"https://api.github.com/users/samzx/gists{/gist_id}","starred_url":"https://api.github.com/users/samzx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samzx/subscriptions","organizations_url":"https://api.github.com/users/samzx/orgs","repos_url":"https://api.github.com/users/samzx/repos","events_url":"https://api.github.com/users/samzx/events{/privacy}","received_events_url":"https://api.github.com/users/samzx/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":20,"state":"open","created_at":"2018-03-07T03:26:32Z","updated_at":"2018-04-15T07:47:29Z","due_on":"2018-04-18T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-04-14T17:15:29Z","updated_at":"2018-04-15T07:47:29Z","closed_at":"2018-04-15T07:47:29Z","author_association":"NONE","body":"Missing javadoc comment:\r\n```java\r\n  /**\r\n     * <MISSING JAVADOC COMMENT>\r\n     * @param userInput String input from user.\r\n     * @return Feedback to the user.\r\n     * @throws CommandException If command execution leads to an error.\r\n     * @throws IllegalValueException If input parsing leads to an error.\r\n     */\r\n    private CommandResult handleInputForField(String userInput) throws CommandException, IllegalValueException {\r\n        Prompt p = getCurrentPrompt();\r\n        boolean canUserSkipField = didUserEndPrompt(userInput) && p.isOptional;\r\n        if (!canUserSkipField) {\r\n            parseInputForField(p.getFieldName(), userInput);\r\n        }\r\n        return getNextPromptMessage();\r\n    }\r\n```\r\n\r\nForgot imperative comment here:\r\n```java\r\n    /**\r\n     * Start the session by giving the first prompt in the interaction.\r\n     */\r\n    public CommandResult start() throws CommandException {\r\n        return new CommandResult(getCurrentPrompt().getMessage());\r\n    }\r\n```"}}
{"actor":{"display_login":"jaxony"}}