{"action":"created","issue":{"url":"https://api.github.com/repos/mtedone/podam/issues/75","labels_url":"https://api.github.com/repos/mtedone/podam/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/mtedone/podam/issues/75/comments","events_url":"https://api.github.com/repos/mtedone/podam/issues/75/events","html_url":"https://github.com/mtedone/podam/issues/75","id":56742073,"number":75,"title":"In the presence of multiple constructors (default + full), give users the ability to choose which one to use","user":{"login":"mtedone","id":366368,"avatar_url":"https://avatars.githubusercontent.com/u/366368?v=3","gravatar_id":"","url":"https://api.github.com/users/mtedone","html_url":"https://github.com/mtedone","followers_url":"https://api.github.com/users/mtedone/followers","following_url":"https://api.github.com/users/mtedone/following{/other_user}","gists_url":"https://api.github.com/users/mtedone/gists{/gist_id}","starred_url":"https://api.github.com/users/mtedone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtedone/subscriptions","organizations_url":"https://api.github.com/users/mtedone/orgs","repos_url":"https://api.github.com/users/mtedone/repos","events_url":"https://api.github.com/users/mtedone/events{/privacy}","received_events_url":"https://api.github.com/users/mtedone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mtedone/podam/labels/Enhancement","name":"Enhancement","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"daivanov","id":1887529,"avatar_url":"https://avatars.githubusercontent.com/u/1887529?v=3","gravatar_id":"","url":"https://api.github.com/users/daivanov","html_url":"https://github.com/daivanov","followers_url":"https://api.github.com/users/daivanov/followers","following_url":"https://api.github.com/users/daivanov/following{/other_user}","gists_url":"https://api.github.com/users/daivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/daivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daivanov/subscriptions","organizations_url":"https://api.github.com/users/daivanov/orgs","repos_url":"https://api.github.com/users/daivanov/repos","events_url":"https://api.github.com/users/daivanov/events{/privacy}","received_events_url":"https://api.github.com/users/daivanov/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-02-05T22:45:57Z","updated_at":"2015-02-27T02:11:02Z","closed_at":null,"body":"Podam should be intelligent enough to try the fullest constructor first, then if that doesn’t work, it should try the one with less arguments and so on until, if none of the other constructors work, it will choose the default one. \r\n\r\nExample: \r\n\r\n1: BigInteger(int bitLength, int certainty, Random rnd)\r\n\r\n2: BigInteger(int signum, byte[] magnitude)\r\n   BigInteger(int numBits, Random rnd)\r\n   BigInteger(String val, int radix)\r\n\r\n3: BigInteger(byte[] val)\r\n   BigInteger(String val)\r\n\r\nPodam should start with 1. If it can’t build, the first constructor within 2 that succeeds should be used. If that doesn’t work, the fist constructor within 3 should be used and so on until the last choice should be the default constructor (if it exists). This is a very good test case that we should be writing when implement this strategy. The test cases should demonstrate Podam’s ability to “scale down” to the most useful (fullest) constructor up to the point the default constructor will be chosen (last choice).\r\n\r\nRegards,\r\nM.\r\n"},"comment":{"url":"https://api.github.com/repos/mtedone/podam/issues/comments/76318305","html_url":"https://github.com/mtedone/podam/issues/75#issuecomment-76318305","issue_url":"https://api.github.com/repos/mtedone/podam/issues/75","id":76318305,"user":{"login":"mtedone","id":366368,"avatar_url":"https://avatars.githubusercontent.com/u/366368?v=3","gravatar_id":"","url":"https://api.github.com/users/mtedone","html_url":"https://github.com/mtedone","followers_url":"https://api.github.com/users/mtedone/followers","following_url":"https://api.github.com/users/mtedone/following{/other_user}","gists_url":"https://api.github.com/users/mtedone/gists{/gist_id}","starred_url":"https://api.github.com/users/mtedone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtedone/subscriptions","organizations_url":"https://api.github.com/users/mtedone/orgs","repos_url":"https://api.github.com/users/mtedone/repos","events_url":"https://api.github.com/users/mtedone/events{/privacy}","received_events_url":"https://api.github.com/users/mtedone/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T02:11:02Z","updated_at":"2015-02-27T02:11:02Z","body":"Yes\n\n\n> On 26 Feb 2015, at 17:23, Daniil Ivanov <notifications@github.com> wrote:\n> \n> Marco, what do you think about 5.0.0-SNAPSHOT? Is it ready to be released?\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/mtedone/podam/issues/75#issuecomment-76222642>.\n> \n\n"}}