mirror of https://github.com/apache/lucene.git
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:
parent
2b114c8a51
commit
361b43117d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue