static void printHelp ( OutputStream prtStr ) { try { InputStream is = SQLCommand . class . getResourceAsStream ( m_readme ) ; while ( is . available ( ) > 0 ) { byte [ ] bytes = new byte [ is . available ( ) ] ; // Fix for ENG-3440 is . read ( bytes , 0 , bytes . length ) ; prtStr . write ( bytes ) ; // For JUnit test } } catch ( Exception x ) { System . err . println ( x . getMessage ( ) ) ; m_exitCode = - 1 ; return ; } }
Default visibility is for test purposes .