@@ -219,16 +219,16 @@ abstract class RouteMatchBase with Diagnosticable {
219219 concatenatePaths (matchedLocation, pathLoc);
220220 final String newMatchedPath = concatenatePaths (matchedPath, route.path);
221221
222- final String caseSensitiveNewMatchedLocation ;
223- final String caseSensitiveUriPath ;
222+ final String newMatchedLocationToCompare ;
223+ final String uriPathToCompare ;
224224 if (route.caseSensitive) {
225- caseSensitiveNewMatchedLocation = newMatchedLocation;
226- caseSensitiveUriPath = uri.path;
225+ newMatchedLocationToCompare = newMatchedLocation;
226+ uriPathToCompare = uri.path;
227227 } else {
228- caseSensitiveNewMatchedLocation = newMatchedLocation.toLowerCase ();
229- caseSensitiveUriPath = uri.path.toLowerCase ();
228+ newMatchedLocationToCompare = newMatchedLocation.toLowerCase ();
229+ uriPathToCompare = uri.path.toLowerCase ();
230230 }
231- if (caseSensitiveNewMatchedLocation == caseSensitiveUriPath ) {
231+ if (newMatchedLocationToCompare == uriPathToCompare ) {
232232 // A complete match.
233233 pathParameters.addAll (currentPathParameter);
234234
@@ -242,7 +242,7 @@ abstract class RouteMatchBase with Diagnosticable {
242242 ],
243243 };
244244 }
245- assert (caseSensitiveUriPath .startsWith (caseSensitiveNewMatchedLocation ));
245+ assert (uriPathToCompare .startsWith (newMatchedLocationToCompare ));
246246 assert (remainingLocation.isNotEmpty);
247247
248248 final String childRestLoc = uri.path.substring (
0 commit comments