summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/UriMatcher.java
Commit message (Collapse)AuthorAgeFilesLines
* AI 144034: am: CL 144032 Added missing import to fix breakage caused by CL ↵Bjorn Bringert2009-04-021-0/+1
| | | | | | | | | 144008. Original author: bringert Merged from: //branches/donutburger/... Automated import of CL 144034
* AI 144010: am: CL 144008 UriMatcher: Avoid repeated calls to ↵Bjorn Bringert2009-04-021-2/+3
| | | | | | | | | | | | | | | | | | Uri.getPathSegments() in UriMatcher.match(). Before, every call to UriMatcher.match() called Uri.getPathSegments() N + 1 times, where N is the size of the list returned by Uri.getPathSegments(). Since some of the implementations of Uri.getPathSegments() are O(N), UriMatcher.match() was O(N^2). This CL fixes the problem by calling uri.getPathSegments() once in the beginning of match(). That should be safe since Uri is immutable. Original author: bringert Merged from: //branches/donutburger/... Automated import of CL 144010
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+262
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-262/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+262