Skip to content
Browse files

remove unused imports and dead code.

  • Loading branch information...
1 parent 502f37b commit 375aad6ce89d66f444cb3e0409cd1a897d2a4c86 Robert Newson committed Nov 10, 2010
View
1 src/main/java/com/github/rnewson/couchdb/lucene/LuceneServlet.java
@@ -44,7 +44,6 @@
import com.github.rnewson.couchdb.lucene.couchdb.DesignDocument;
import com.github.rnewson.couchdb.lucene.couchdb.View;
import com.github.rnewson.couchdb.lucene.util.ServletUtils;
-import com.github.rnewson.couchdb.lucene.util.Utils;
public final class LuceneServlet extends HttpServlet {
View
4 src/main/java/com/github/rnewson/couchdb/lucene/Main.java
@@ -45,10 +45,6 @@ public static void main(String[] args) throws Exception {
final File dir = new File(configuration.getString("lucene.dir", "indexes"));
- if (dir == null) {
- LOG.error("lucene.dir not set.");
- System.exit(1);
- }
if (!dir.exists() && !dir.mkdir()) {
LOG.error("Could not create " + dir.getCanonicalPath());
System.exit(1);
View
2 src/main/java/com/github/rnewson/couchdb/lucene/util/Utils.java
@@ -26,8 +26,6 @@
import org.apache.lucene.document.Field;
import org.apache.lucene.document.Field.Store;
import org.apache.lucene.store.Directory;
-import org.json.JSONException;
-import org.json.JSONObject;
public class Utils {

0 comments on commit 375aad6

Please sign in to comment.
Something went wrong with that request. Please try again.