/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/am/ed/importcontacts/ContactsCache.java

  • Committer: edam
  • Date: 2012-12-20 16:55:00 UTC
  • Revision ID: tim@ed.am-20121220165500-y9p9klxqk5wqos2t
removed redundant CacheIdentifier constructor and NONE type

Show diffs side-by-side

added added

removed removed

36
36
         */
37
37
        public static class CacheIdentifier
38
38
        {
39
 
                public enum Type {
40
 
                        NONE, NAME, ORGANISATION, PRIMARY_NUMBER, PRIMARY_EMAIL }
 
39
                public enum Type { NAME, ORGANISATION, PRIMARY_NUMBER, PRIMARY_EMAIL }
41
40
 
42
41
                private Type _type;
43
42
                private String _detail;
44
43
 
45
 
                protected CacheIdentifier()
46
 
                {
47
 
                        _type = Type.NONE;
48
 
                }
49
 
 
50
44
                /**
51
45
                 * Obtain a cache identifier.  This routine is designed to be as robust
52
46
                 * as possible (in terms of bad or null detail values), and to return