{"action":"closed","issue":{"url":"https://api.github.com/repos/joel-costigliola/assertj-swing/issues/130","labels_url":"https://api.github.com/repos/joel-costigliola/assertj-swing/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/joel-costigliola/assertj-swing/issues/130/comments","events_url":"https://api.github.com/repos/joel-costigliola/assertj-swing/issues/130/events","html_url":"https://github.com/joel-costigliola/assertj-swing/issues/130","id":27199780,"number":130,"title":"change int TableFixture#columnIndexFor(Object columnName)  to String TableFixture#getColumnName(int index) ","user":{"login":"croesch","id":307434,"avatar_url":"https://avatars.githubusercontent.com/u/307434?v=3","gravatar_id":"","url":"https://api.github.com/users/croesch","html_url":"https://github.com/croesch","followers_url":"https://api.github.com/users/croesch/followers","following_url":"https://api.github.com/users/croesch/following{/other_user}","gists_url":"https://api.github.com/users/croesch/gists{/gist_id}","starred_url":"https://api.github.com/users/croesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croesch/subscriptions","organizations_url":"https://api.github.com/users/croesch/orgs","repos_url":"https://api.github.com/users/croesch/repos","events_url":"https://api.github.com/users/croesch/events{/privacy}","received_events_url":"https://api.github.com/users/croesch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joel-costigliola/assertj-swing/labels/import%20from%20fest-swing","name":"import from fest-swing","color":"5319e7"},{"url":"https://api.github.com/repos/joel-costigliola/assertj-swing/labels/Improvement","name":"Improvement","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-02-08T12:38:19Z","updated_at":"2015-06-22T13:42:33Z","closed_at":"2015-06-22T13:42:33Z","body":"_Issue by **[Arnaud Briens](http://jira.codehaus.org/secure/ViewProfile.jspa?name=deepo)** from Mon, 6 Apr 2009 04:19:48 -0500_\n_Originally opened as http://jira.codehaus.org/browse/FEST-109_\n\n----\n\n<p>Hi,</p>\n\n<p>I think the method int TableFixture#columnIndexFor(Object columnName) could be more user-friendly with this signature : String TableFixture#getColumnName(int index) .</p>\n\n<p>On that way you dont need to cast an object , and also  you could cover all the columns in a really easier way, just like this for example :</p>\n\n<p>for (int i=0; i&lt;myJTable.getColumnCount(); i++)<br/>\n{<br/>\n    assertEquals(this.window.table(myJTable.getName()).getColumnName<img class=\"emoticon\" src=\"http://jira.codehaus.org/images/icons/emoticons/information.gif\" height=\"16\" width=\"16\" align=\"absmiddle\" alt=\"\" border=\"0\"/>, \"aColumnName\");<br/>\n}</p>\n\n<p>Thank you</p>\n\n<p>(hope my english is understandable XD)</p>\n\n\n----\n\nvotes (original issue): 0\nwatches (original issue): 0\n"}}