Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/com/nexosis/model/DataSetStreamSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down