Searched refs:mimeType1 (Results 1 – 1 of 1) sorted by relevance
148 public int compare(String mimeType1, String mimeType2) { in compare() argument149 if (mimeType1 == mimeType2) return 0; in compare()150 if (mimeType1 == null) return -1; in compare()153 int index1 = MIME_TYPE_ORDER.indexOf(mimeType1); in compare()157 if (index1 < 0 && index2 < 0) return mimeType1.compareTo(mimeType2); in compare()