Skip to content

Commit

Permalink
remove unused jsonspec content type
Browse files Browse the repository at this point in the history
  • Loading branch information
xvrl committed Oct 7, 2014
1 parent 8f7f497 commit c25203e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<metamx.java-util.version>0.26.9</metamx.java-util.version>
<apache.curator.version>2.6.0</apache.curator.version>
<druid.api.version>0.2.12</druid.api.version>
<druid.api.version>0.2.13</druid.api.version>
</properties>

<modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public ProtoBufInputRowParser(
if (parseSpec == null) {
this.parseSpec = new JSONParseSpec(
timestampSpec,
new DimensionsSpec(dimensions, dimensionExclusions, spatialDimensions),
JSONParseSpec.JSON
new DimensionsSpec(dimensions, dimensionExclusions, spatialDimensions)
);
} else {
this.parseSpec = parseSpec;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ public void testParse() throws Exception
ProtoBufInputRowParser parser = new ProtoBufInputRowParser(
new JSONParseSpec(
new TimestampSpec("timestamp", "iso"),
new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.<String>asList(), null),
JSONParseSpec.JSON
new DimensionsSpec(Arrays.asList(DIMENSIONS), Arrays.<String>asList(), null)
),
"prototest.desc",
null, null, null, null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public void testSerde() throws Exception
Arrays.asList("dim1", "dim2"),
null,
null
),
JSONParseSpec.JSON
)
),
null, null, null, null
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ public ParseSpec getParseSpec()
{
return new JSONParseSpec(
new TimestampSpec("timestamp", "auto"),
new DimensionsSpec(null, null, null),
JSONParseSpec.JSON
new DimensionsSpec(null, null, null)
);
}

Expand Down

0 comments on commit c25203e

Please sign in to comment.