diff --git a/build.gradle b/build.gradle index 2bb8134..c3baaa5 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,9 @@ +//dummy trigger of commit apply plugin: 'java' apply plugin: 'maven' apply plugin: 'signing' apply plugin: 'com.github.johnrengelman.shadow' - +//another dummy trigger of commit group = 'com.nexosis' archivesBaseName = 'nexosisclient-java' version = '4.0.1' diff --git a/src/main/java/com/nexosis/model/DataSetStreamSource.java b/src/main/java/com/nexosis/model/DataSetStreamSource.java index 2af82a0..6a7594b 100644 --- a/src/main/java/com/nexosis/model/DataSetStreamSource.java +++ b/src/main/java/com/nexosis/model/DataSetStreamSource.java @@ -49,10 +49,6 @@ public void setContentType(String contentType) throws IllegalArgumentException { if (!contentType.equalsIgnoreCase("text/csv") && !contentType.startsWith("application/json")) { throw new IllegalArgumentException("contentType must be set to text/csv or application/json"); } - // force to use application/json w/ utf-8 - if (contentType.equalsIgnoreCase("application/json")) { - contentType = Json.MEDIA_TYPE; - } this.contentType = contentType; }