LUCENE-5215: resolve compilation error

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527332 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5246: SegmentInfoPerCommit continues to list unneeded updatesFiles

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527361 13f79535-47bb-0310-9956-ffa450edef68