cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimir-kotikov <...@git.apache.org>
Subject [GitHub] cordova-plugin-contacts pull request: Solving memory leak issues d...
Date Mon, 19 Oct 2015 14:03:47 GMT
Github user vladimir-kotikov commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/80#discussion_r42374012
  
    --- Diff: src/android/ContactAccessorSdk5.java ---
    @@ -945,9 +954,12 @@ private JSONObject photoQuery(Cursor cursor, String contactId) {
                 }
             } catch (JSONException e) {
                 Log.e(LOG_TAG, e.getMessage(), e);
    -        } catch (SQLiteException e)
    -        {
    +        } catch (SQLiteException e) {
                 Log.e(LOG_TAG, e.getMessage(), e);
    +        } finally {
    +          if(photoCursor != null && !photoCursor.isClosed()) {
    --- End diff --
    
    Please correct indentation.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message