Fix for Axis2 build break when using this javamail implementation. Stop when you get no more bytes from the input stream. Don't explicitly check for -1

git-svn-id: https://svn.apache.org/repos/asf/geronimo/specs/branches/geronimo-javamail_1.4_spec-1.0@549494 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 398cf0c779dbc21d22a973b699a306f79ab9c844
  1. src/
  2. LICENSE.txt
  3. NOTICE.txt
  4. pom.xml
  5. README.txt