From c25203e1409ed2a2474fd267259e85e1a67e7942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Tue, 7 Oct 2014 14:48:49 -0700 Subject: [PATCH] remove unused jsonspec content type --- pom.xml | 2 +- .../main/java/io/druid/data/input/ProtoBufInputRowParser.java | 3 +-- .../java/io/druid/data/input/ProtoBufInputRowParserTest.java | 3 +-- .../java/io/druid/segment/realtime/FireDepartmentTest.java | 3 +-- .../segment/realtime/plumber/RealtimePlumberSchoolTest.java | 3 +-- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 6dfdc2d8508..f14cedd7440 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ UTF-8 0.26.9 2.6.0 - 0.2.12 + 0.2.13 diff --git a/processing/src/main/java/io/druid/data/input/ProtoBufInputRowParser.java b/processing/src/main/java/io/druid/data/input/ProtoBufInputRowParser.java index 4a449efbe82..df8bdb5cef8 100644 --- a/processing/src/main/java/io/druid/data/input/ProtoBufInputRowParser.java +++ b/processing/src/main/java/io/druid/data/input/ProtoBufInputRowParser.java @@ -69,8 +69,7 @@ public class ProtoBufInputRowParser implements ByteBufferInputRowParser if (parseSpec == null) { this.parseSpec = new JSONParseSpec( timestampSpec, - new DimensionsSpec(dimensions, dimensionExclusions, spatialDimensions), - JSONParseSpec.JSON + new DimensionsSpec(dimensions, dimensionExclusions, spatialDimensions) ); } else { this.parseSpec = parseSpec; diff --git a/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java b/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java index 570045daab0..67d5fdc3574 100644 --- a/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java +++ b/processing/src/test/java/io/druid/data/input/ProtoBufInputRowParserTest.java @@ -59,8 +59,7 @@ public class ProtoBufInputRowParserTest ProtoBufInputRowParser parser = new ProtoBufInputRowParser( new JSONParseSpec( new TimestampSpec("timestamp", "iso"), - new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.asList(), null), - JSONParseSpec.JSON + new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.asList(), null) ), "prototest.desc", null, null, null, null diff --git a/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java b/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java index d212342abdf..5fca643fc08 100644 --- a/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java +++ b/server/src/test/java/io/druid/segment/realtime/FireDepartmentTest.java @@ -61,8 +61,7 @@ public class FireDepartmentTest Arrays.asList("dim1", "dim2"), null, null - ), - JSONParseSpec.JSON + ) ), null, null, null, null ), diff --git a/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java b/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java index ff4808f6815..3a9cdd3ebe6 100644 --- a/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java +++ b/server/src/test/java/io/druid/segment/realtime/plumber/RealtimePlumberSchoolTest.java @@ -125,8 +125,7 @@ public class RealtimePlumberSchoolTest { return new JSONParseSpec( new TimestampSpec("timestamp", "auto"), - new DimensionsSpec(null, null, null), - JSONParseSpec.JSON + new DimensionsSpec(null, null, null) ); }