HADOOP-11247. Fix a couple javac warnings in NFS. Contributed by Brandon Li.

(cherry picked from commit c7d1db7495e772ff81077b3865337838eded025a)

Conflicts:
	hadoop-common-project/hadoop-common/CHANGES.txt