You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2013/07/11 23:54:05 UTC

git commit: [CB-1605] Warning cleanup! Suppressed a warning.

Updated Branches:
  refs/heads/master 393faadef -> 630d2324d


[CB-1605] Warning cleanup! Suppressed a warning.

This private method isn't used, but I made a judgment call to leave it.  It's the inverse of a method that is frequently used and since the work's been done, there's no benefit to removing it.

Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/630d2324
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/630d2324
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/630d2324

Branch: refs/heads/master
Commit: 630d2324d8e963efa8e8fbead454d1e1d3cf9fee
Parents: 393faad
Author: Max Woghiren <ma...@gmail.com>
Authored: Thu Jul 11 17:47:08 2013 -0400
Committer: Max Woghiren <ma...@gmail.com>
Committed: Thu Jul 11 17:47:08 2013 -0400

----------------------------------------------------------------------
 src/android/ContactAccessorSdk5.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/630d2324/src/android/ContactAccessorSdk5.java
----------------------------------------------------------------------
diff --git a/src/android/ContactAccessorSdk5.java b/src/android/ContactAccessorSdk5.java
index 3a164e5..46440ba 100644
--- a/src/android/ContactAccessorSdk5.java
+++ b/src/android/ContactAccessorSdk5.java
@@ -2142,6 +2142,7 @@ public class ContactAccessorSdk5 extends ContactAccessor {
      * @param type
      * @return phone type as string.
      */
+    @SuppressWarnings("unused")
     private String getImType(int type) {
         String stringType;
         switch (type) {