LUCENE-3152: fix false fail in case there is a lock prefix

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/leaky3147@1128802 13f79535-47bb-0310-9956-ffa450edef68
1 file changed