cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: [CB-1605] Warning cleanup! Suppressed a warning.
Date Thu, 11 Jul 2013 21:54:05 GMT
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 <max.woghiren@gmail.com>
Authored: Thu Jul 11 17:47:08 2013 -0400
Committer: Max Woghiren <max.woghiren@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) {


Mime
View raw message