{"action":"created","comment":{"url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments/64802776","id":64802776,"diff_hunk":"@@ -0,0 +1,43 @@\n+package org.jboss.tools.openshift.test.ui.validator;","path":"tests/org.jboss.tools.openshift.test/src/org/jboss/tools/openshift/test/ui/validator/ProjectDisplayNameValidatorTest.java","position":1,"original_position":1,"commit_id":"88b3745825edc5c71ad78fab51af37bebd57976c","original_commit_id":"88b3745825edc5c71ad78fab51af37bebd57976c","user":{"login":"fbricon","id":148698,"avatar_url":"https://avatars.githubusercontent.com/u/148698?v=3","gravatar_id":"","url":"https://api.github.com/users/fbricon","html_url":"https://github.com/fbricon","followers_url":"https://api.github.com/users/fbricon/followers","following_url":"https://api.github.com/users/fbricon/following{/other_user}","gists_url":"https://api.github.com/users/fbricon/gists{/gist_id}","starred_url":"https://api.github.com/users/fbricon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbricon/subscriptions","organizations_url":"https://api.github.com/users/fbricon/orgs","repos_url":"https://api.github.com/users/fbricon/repos","events_url":"https://api.github.com/users/fbricon/events{/privacy}","received_events_url":"https://api.github.com/users/fbricon/received_events","type":"User","site_admin":false},"body":"missing copyright header","created_at":"2016-05-26T19:08:00Z","updated_at":"2016-05-26T19:08:00Z","html_url":"https://github.com/jbosstools/jbosstools-openshift/pull/1186#discussion_r64802776","pull_request_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186","_links":{"self":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments/64802776"},"html":{"href":"https://github.com/jbosstools/jbosstools-openshift/pull/1186#discussion_r64802776"},"pull_request":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186"}}},"pull_request":{"url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186","id":71468276,"html_url":"https://github.com/jbosstools/jbosstools-openshift/pull/1186","diff_url":"https://github.com/jbosstools/jbosstools-openshift/pull/1186.diff","patch_url":"https://github.com/jbosstools/jbosstools-openshift/pull/1186.patch","issue_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/1186","number":1186,"state":"open","locked":false,"title":"[JBIDE 21068] Set maximum length for display name for project wizard","user":{"login":"bdshadow","id":5796973,"avatar_url":"https://avatars.githubusercontent.com/u/5796973?v=3","gravatar_id":"","url":"https://api.github.com/users/bdshadow","html_url":"https://github.com/bdshadow","followers_url":"https://api.github.com/users/bdshadow/followers","following_url":"https://api.github.com/users/bdshadow/following{/other_user}","gists_url":"https://api.github.com/users/bdshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/bdshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdshadow/subscriptions","organizations_url":"https://api.github.com/users/bdshadow/orgs","repos_url":"https://api.github.com/users/bdshadow/repos","events_url":"https://api.github.com/users/bdshadow/events{/privacy}","received_events_url":"https://api.github.com/users/bdshadow/received_events","type":"User","site_admin":false},"body":"The limit is, actually, set in swt Text and it is [platform dependent](http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Text.html#LIMIT). In my Fedora 23 \r\n```\r\npublic int getTextLimit () {\r\n\tcheckWidget ();\r\n\tif ((style & SWT.MULTI) != 0) return LIMIT;\r\n\tint limit = OS.gtk_entry_get_max_length (handle);\r\n\treturn limit == 0 ? 0xFFFF : untranslateOffset (limit);\r\n}\r\n```\r\nalways returns 0xFFFF which is exactly 65536. So couldn't test it in a usual way, but just setting the limit lower for testing purposes.\r\nHowever, i added ValidationStatus.error when input is bigger so that this check works in another OSs.","created_at":"2016-05-25T21:44:09Z","updated_at":"2016-05-26T19:08:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cdb01169da7dc8a3cd5a01153e45e32ccf5a0d9a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186/commits","review_comments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186/comments","review_comment_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/1186/comments","statuses_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/statuses/88b3745825edc5c71ad78fab51af37bebd57976c","head":{"label":"bdshadow:jbide-21068","ref":"jbide-21068","sha":"88b3745825edc5c71ad78fab51af37bebd57976c","user":{"login":"bdshadow","id":5796973,"avatar_url":"https://avatars.githubusercontent.com/u/5796973?v=3","gravatar_id":"","url":"https://api.github.com/users/bdshadow","html_url":"https://github.com/bdshadow","followers_url":"https://api.github.com/users/bdshadow/followers","following_url":"https://api.github.com/users/bdshadow/following{/other_user}","gists_url":"https://api.github.com/users/bdshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/bdshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdshadow/subscriptions","organizations_url":"https://api.github.com/users/bdshadow/orgs","repos_url":"https://api.github.com/users/bdshadow/repos","events_url":"https://api.github.com/users/bdshadow/events{/privacy}","received_events_url":"https://api.github.com/users/bdshadow/received_events","type":"User","site_admin":false},"repo":{"id":59468327,"name":"jbosstools-openshift","full_name":"bdshadow/jbosstools-openshift","owner":{"login":"bdshadow","id":5796973,"avatar_url":"https://avatars.githubusercontent.com/u/5796973?v=3","gravatar_id":"","url":"https://api.github.com/users/bdshadow","html_url":"https://github.com/bdshadow","followers_url":"https://api.github.com/users/bdshadow/followers","following_url":"https://api.github.com/users/bdshadow/following{/other_user}","gists_url":"https://api.github.com/users/bdshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/bdshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdshadow/subscriptions","organizations_url":"https://api.github.com/users/bdshadow/orgs","repos_url":"https://api.github.com/users/bdshadow/repos","events_url":"https://api.github.com/users/bdshadow/events{/privacy}","received_events_url":"https://api.github.com/users/bdshadow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bdshadow/jbosstools-openshift","description":"JBoss Tools :: OpenShift { openshift }","fork":true,"url":"https://api.github.com/repos/bdshadow/jbosstools-openshift","forks_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/forks","keys_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/teams","hooks_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/hooks","issue_events_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/issues/events{/number}","events_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/events","assignees_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/assignees{/user}","branches_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/branches{/branch}","tags_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/tags","blobs_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/statuses/{sha}","languages_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/languages","stargazers_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/stargazers","contributors_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/contributors","subscribers_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/subscribers","subscription_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/subscription","commits_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/contents/{+path}","compare_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/merges","archive_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/downloads","issues_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/issues{/number}","pulls_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/pulls{/number}","milestones_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/milestones{/number}","notifications_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/labels{/name}","releases_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/releases{/id}","deployments_url":"https://api.github.com/repos/bdshadow/jbosstools-openshift/deployments","created_at":"2016-05-23T09:08:16Z","updated_at":"2016-05-23T09:08:21Z","pushed_at":"2016-05-26T16:39:02Z","git_url":"git://github.com/bdshadow/jbosstools-openshift.git","ssh_url":"git@github.com:bdshadow/jbosstools-openshift.git","clone_url":"https://github.com/bdshadow/jbosstools-openshift.git","svn_url":"https://github.com/bdshadow/jbosstools-openshift","homepage":"","size":16531,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jbosstools:master","ref":"master","sha":"199d5b7f021fbf28e0d666c78a8367c362cb5aed","user":{"login":"jbosstools","id":619871,"avatar_url":"https://avatars.githubusercontent.com/u/619871?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstools","html_url":"https://github.com/jbosstools","followers_url":"https://api.github.com/users/jbosstools/followers","following_url":"https://api.github.com/users/jbosstools/following{/other_user}","gists_url":"https://api.github.com/users/jbosstools/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstools/subscriptions","organizations_url":"https://api.github.com/users/jbosstools/orgs","repos_url":"https://api.github.com/users/jbosstools/repos","events_url":"https://api.github.com/users/jbosstools/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstools/received_events","type":"Organization","site_admin":false},"repo":{"id":6308288,"name":"jbosstools-openshift","full_name":"jbosstools/jbosstools-openshift","owner":{"login":"jbosstools","id":619871,"avatar_url":"https://avatars.githubusercontent.com/u/619871?v=3","gravatar_id":"","url":"https://api.github.com/users/jbosstools","html_url":"https://github.com/jbosstools","followers_url":"https://api.github.com/users/jbosstools/followers","following_url":"https://api.github.com/users/jbosstools/following{/other_user}","gists_url":"https://api.github.com/users/jbosstools/gists{/gist_id}","starred_url":"https://api.github.com/users/jbosstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbosstools/subscriptions","organizations_url":"https://api.github.com/users/jbosstools/orgs","repos_url":"https://api.github.com/users/jbosstools/repos","events_url":"https://api.github.com/users/jbosstools/events{/privacy}","received_events_url":"https://api.github.com/users/jbosstools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jbosstools/jbosstools-openshift","description":"JBoss Tools :: OpenShift { openshift }","fork":false,"url":"https://api.github.com/repos/jbosstools/jbosstools-openshift","forks_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/forks","keys_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/teams","hooks_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/hooks","issue_events_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/events{/number}","events_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/events","assignees_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/assignees{/user}","branches_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/branches{/branch}","tags_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/tags","blobs_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/statuses/{sha}","languages_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/languages","stargazers_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/stargazers","contributors_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/contributors","subscribers_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/subscribers","subscription_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/subscription","commits_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/contents/{+path}","compare_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/merges","archive_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/downloads","issues_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues{/number}","pulls_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls{/number}","milestones_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/milestones{/number}","notifications_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/labels{/name}","releases_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/releases{/id}","deployments_url":"https://api.github.com/repos/jbosstools/jbosstools-openshift/deployments","created_at":"2012-10-20T11:23:01Z","updated_at":"2016-01-11T16:23:14Z","pushed_at":"2016-05-26T17:07:39Z","git_url":"git://github.com/jbosstools/jbosstools-openshift.git","ssh_url":"git@github.com:jbosstools/jbosstools-openshift.git","clone_url":"https://github.com/jbosstools/jbosstools-openshift.git","svn_url":"https://github.com/jbosstools/jbosstools-openshift","homepage":"","size":19617,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":11,"forks":41,"open_issues":11,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186"},"html":{"href":"https://github.com/jbosstools/jbosstools-openshift/pull/1186"},"issue":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/1186"},"comments":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/issues/1186/comments"},"review_comments":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186/comments"},"review_comment":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/pulls/1186/commits"},"statuses":{"href":"https://api.github.com/repos/jbosstools/jbosstools-openshift/statuses/88b3745825edc5c71ad78fab51af37bebd57976c"}}}}
{"actor":{"display_login":"fbricon"}}