version bumps

This commit is contained in:
Sven Kubiak
2016-05-13 14:15:07 +02:00
parent 28acdb49cd
commit 8b062979b9
2 changed files with 3 additions and 3 deletions

View File

@ -250,7 +250,7 @@ public class JPushover {
final HttpResponse httpResponse = Request.Post(Constants.VALIDATION_URL.toString()).bodyForm(params, Consts.UTF_8).execute().returnResponse();
if (httpResponse != null && httpResponse.getStatusLine().getStatusCode() == HTTP_OK) {
final String response = IOUtils.toString(httpResponse.getEntity().getContent());
final String response = IOUtils.toString(httpResponse.getEntity().getContent(), Consts.UTF_8);
if (StringUtils.isNotBlank(response) && response.contains("\"status\":1")) {
valid = true;
}