LUCENE-4590: WriteEnwikiLineDoc "trailing change": make categoriesLineFile(File) public.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doron Cohen 2012-12-10 10:13:06 +00:00
parent 2b114c8a51
commit 361b43117d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class WriteEnwikiLineDocTask extends WriteLineDocTask {
}
/** Compose categories line file out of original line file */
static File categoriesLineFile(File f) {
public static File categoriesLineFile(File f) {
File dir = f.getParentFile();
String categoriesName = "categories-"+f.getName();
return dir==null ? new File(categoriesName) : new File(dir,categoriesName);