From 361b43117ddf0ebf90a2cfe8bc4f870fba381d51 Mon Sep 17 00:00:00 2001 From: Doron Cohen Date: Mon, 10 Dec 2012 10:13:06 +0000 Subject: [PATCH] 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 --- .../lucene/benchmark/byTask/tasks/WriteEnwikiLineDocTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteEnwikiLineDocTask.java b/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteEnwikiLineDocTask.java index 7ebae34b236..5c9b88f1411 100644 --- a/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteEnwikiLineDocTask.java +++ b/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/WriteEnwikiLineDocTask.java @@ -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);