fix some bugs checked out by findbugs.
merge from local branch: fix some bugs checkout by findbugs.'
Merge branch 'master' of github.com:vintsie/jcobweb