{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/69","repository_url":"https://api.github.com/repos/eclipse/xtext-xtend","labels_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/69/comments","events_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/69/events","html_url":"https://github.com/eclipse/xtext-xtend/pull/69","id":187400512,"number":69,"title":"[507077] Do not emit empty concatenation","user":{"login":"rovarga","id":3847030,"avatar_url":"https://avatars.githubusercontent.com/u/3847030?v=3","gravatar_id":"","url":"https://api.github.com/users/rovarga","html_url":"https://github.com/rovarga","followers_url":"https://api.github.com/users/rovarga/followers","following_url":"https://api.github.com/users/rovarga/following{/other_user}","gists_url":"https://api.github.com/users/rovarga/gists{/gist_id}","starred_url":"https://api.github.com/users/rovarga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rovarga/subscriptions","organizations_url":"https://api.github.com/users/rovarga/orgs","repos_url":"https://api.github.com/users/rovarga/repos","events_url":"https://api.github.com/users/rovarga/events{/privacy}","received_events_url":"https://api.github.com/users/rovarga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-04T18:02:11Z","updated_at":"2016-11-04T18:02:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eclipse/xtext-xtend/pulls/69","html_url":"https://github.com/eclipse/xtext-xtend/pull/69","diff_url":"https://github.com/eclipse/xtext-xtend/pull/69.diff","patch_url":"https://github.com/eclipse/xtext-xtend/pull/69.patch"},"body":"Java code generated from Xtend routinely contains output\nlike:\n\n  public CharSequence packageDefinition() {\n    StringConcatenation _builder = new StringConcatenation();\n    _builder.append(\"package \");\n    String _packageName = this.type.getPackageName();\n    _builder.append(_packageName, \"\");\n    _builder.append(\";\");\n    return _builder;\n  }\n\nWhile StringConcatenation will detect the fact the indentation\nstring is empty, it is at the cost of runtime performance.\n\nBefore emitting the call to StringConcatenation, check if our\nliteral would end up being an empty string and if it would,\ncall the no-indentation append() variant instead.\n\nSigned-off-by: Robert Varga <nite@hq.sk>"},"comment":{"url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/comments/258504965","html_url":"https://github.com/eclipse/xtext-xtend/pull/69#issuecomment-258504965","issue_url":"https://api.github.com/repos/eclipse/xtext-xtend/issues/69","id":258504965,"user":{"login":"eclipsewebmaster","id":4520186,"avatar_url":"https://avatars.githubusercontent.com/u/4520186?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipsewebmaster","html_url":"https://github.com/eclipsewebmaster","followers_url":"https://api.github.com/users/eclipsewebmaster/followers","following_url":"https://api.github.com/users/eclipsewebmaster/following{/other_user}","gists_url":"https://api.github.com/users/eclipsewebmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipsewebmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipsewebmaster/subscriptions","organizations_url":"https://api.github.com/users/eclipsewebmaster/orgs","repos_url":"https://api.github.com/users/eclipsewebmaster/repos","events_url":"https://api.github.com/users/eclipsewebmaster/events{/privacy}","received_events_url":"https://api.github.com/users/eclipsewebmaster/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T18:02:17Z","updated_at":"2016-11-04T18:02:17Z","body":"Issue tracker reference:\nhttps://bugs.eclipse.org/bugs/show_bug.cgi?id=507077"}}
{"actor":{"display_login":"eclipsewebmaster"}}