Changing access modifiers etc. in samples and tests (based on findbugs report).

git-svn-id: https://svn.java.net/svn/tyrus~source-code-repository/trunk@725 aa68c1a9-5198-4982-ce7d-eee0ef5d8746