{"action":"closed","issue":{"url":"https://api.github.com/repos/denizmak/SE420-MiniProject3/issues/2","repository_url":"https://api.github.com/repos/denizmak/SE420-MiniProject3","labels_url":"https://api.github.com/repos/denizmak/SE420-MiniProject3/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/denizmak/SE420-MiniProject3/issues/2/comments","events_url":"https://api.github.com/repos/denizmak/SE420-MiniProject3/issues/2/events","html_url":"https://github.com/denizmak/SE420-MiniProject3/issues/2","id":138311938,"number":2,"title":"Constructor logic incorrect","user":{"login":"denizmak","id":9203161,"avatar_url":"https://avatars.githubusercontent.com/u/9203161?v=3","gravatar_id":"","url":"https://api.github.com/users/denizmak","html_url":"https://github.com/denizmak","followers_url":"https://api.github.com/users/denizmak/followers","following_url":"https://api.github.com/users/denizmak/following{/other_user}","gists_url":"https://api.github.com/users/denizmak/gists{/gist_id}","starred_url":"https://api.github.com/users/denizmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denizmak/subscriptions","organizations_url":"https://api.github.com/users/denizmak/orgs","repos_url":"https://api.github.com/users/denizmak/repos","events_url":"https://api.github.com/users/denizmak/events{/privacy}","received_events_url":"https://api.github.com/users/denizmak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/denizmak/SE420-MiniProject3/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T22:09:22Z","updated_at":"2016-03-03T22:21:32Z","closed_at":"2016-03-03T22:21:32Z","body":"The constructor is set to throw exception if queue capacity upon installation is not equal to 0. This is obviously wrong because it would throw exception for normal case scenario as well and the logic should be change to throw exception when queue capacity is trying to be initialized to 0 or less.\n\"if (maxQueueSize != 0)\" should be changed to \"if (maxQueueSize <= 0)\""}}