Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Melnichenko committed Jun 27, 2011
1 parent 8fde7e8 commit e4f13f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/se/msc/android/droidcouch/DroidCouch.java
Expand Up @@ -55,8 +55,8 @@ public static String convertStreamToString(InputStream is) {
public static String getServerVersion(String hostUrl) {
String result = null;
try {
HttpGet httpGetReqest = new HttpGet(hostUrl);
JSONObject jsonResult = sendCouchRequest(httpGetReqest);
HttpGet httpGetRequest = new HttpGet(hostUrl);
JSONObject jsonResult = sendCouchRequest(httpGetRequest);
if (jsonResult != null) {
if (jsonResult.has("couchdb") && jsonResult.getString("couchdb").equals("Welcome") && jsonResult.has("version")) {
result = jsonResult.getString("version");
Expand Down

0 comments on commit e4f13f2

Please sign in to comment.