{"action":"opened","issue":{"url":"https://api.github.com/repos/caelum/vraptor4/issues/1072","repository_url":"https://api.github.com/repos/caelum/vraptor4","labels_url":"https://api.github.com/repos/caelum/vraptor4/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/caelum/vraptor4/issues/1072/comments","events_url":"https://api.github.com/repos/caelum/vraptor4/issues/1072/events","html_url":"https://github.com/caelum/vraptor4/issues/1072","id":157727925,"number":1072,"title":"VRaptor 4.1.1, My StringConverter does not work","user":{"login":"rafaelbtz","id":1420187,"avatar_url":"https://avatars.githubusercontent.com/u/1420187?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelbtz","html_url":"https://github.com/rafaelbtz","followers_url":"https://api.github.com/users/rafaelbtz/followers","following_url":"https://api.github.com/users/rafaelbtz/following{/other_user}","gists_url":"https://api.github.com/users/rafaelbtz/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelbtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelbtz/subscriptions","organizations_url":"https://api.github.com/users/rafaelbtz/orgs","repos_url":"https://api.github.com/users/rafaelbtz/repos","events_url":"https://api.github.com/users/rafaelbtz/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelbtz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-31T17:35:47Z","updated_at":"2016-05-31T17:35:47Z","closed_at":null,"body":"The String converter is never called, i tried this:\r\n```\r\n@Alternative\r\n@Priority(Interceptor.Priority.APPLICATION)\r\n@Convert(String.class)\r\npublic class StringTrimConverter implements Converter<String> {\r\n\t@Override\r\n\tpublic String convert(String value, Class<? extends String> type) {\r\n\t\tSystem.out.println(\"Converter\");\r\n\t\treturn value == null || value.length() == 0 ? null : value.trim();\r\n\t} \r\n}\r\n```\r\n\r\nand this:\r\n```\r\n@Convert(String.class)\r\n@Specializes\r\npublic class StringTrimConverter extends StringConverter {\r\n\t@Override\r\n\tpublic String convert(String value, Class<? extends String> type) {\r\n\t\treturn value == null || value.length() == 0 ? null : value.trim();\r\n\t}\r\n}\r\n```"}}
{"actor":{"display_login":"rafaelbtz"}}