File no-uee.patch of Package lightcouch
--- src/main/java/org/lightcouch/CouchDbClientBase.java.orig 2014-01-26 14:23:42.000000000 +0100
+++ src/main/java/org/lightcouch/CouchDbClientBase.java 2014-01-26 14:23:59.000000000 +0100
@@ -409,14 +409,14 @@
* @param json The JSON String to set.
*/
protected void setEntity(HttpEntityEnclosingRequestBase httpRequest, String json) {
- try {
+// try {
StringEntity entity = new StringEntity(json, "UTF-8");
entity.setContentType("application/json");
httpRequest.setEntity(entity);
- } catch (UnsupportedEncodingException e) {
- log.error("Error setting request data. " + e.getMessage());
- throw new IllegalArgumentException(e);
- }
+// } catch (UnsupportedEncodingException e) {
+// log.error("Error setting request data. " + e.getMessage());
+// throw new IllegalArgumentException(e);
+// }
}
/**