fixed http://java.net/jira/browse/JERSEY-1681


git-svn-id: https://svn.java.net/svn/jersey~svn/trunk@5832 2fda5173-fe30-0410-90bd-98ff5453417f