From 69df71d2e31226a486ea6dfd37ca1ff2ffc6ea24 Mon Sep 17 00:00:00 2001 From: kimchy Date: Fri, 30 Apr 2010 19:00:40 +0300 Subject: [PATCH] jarjar jackson and joda --- .../org/elasticsearch/util/xcontent/XContentFactory.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/util/xcontent/XContentFactory.java b/modules/elasticsearch/src/main/java/org/elasticsearch/util/xcontent/XContentFactory.java index d68c3c80954..6bb956b120a 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/util/xcontent/XContentFactory.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/util/xcontent/XContentFactory.java @@ -42,13 +42,8 @@ public class XContentFactory { static { contents = new XContent[2]; - try { - contents[0] = new JsonXContent(); - contents[1] = new XsonXContent(); - } catch (Throwable t) { - System.err.println("Failed to load xcontent"); - t.printStackTrace(); - } + contents[0] = new JsonXContent(); + contents[1] = new XsonXContent(); } /**