@@ -219,16 +219,16 @@ abstract class RouteMatchBase with Diagnosticable {
219
219
concatenatePaths (matchedLocation, pathLoc);
220
220
final String newMatchedPath = concatenatePaths (matchedPath, route.path);
221
221
222
- final String caseSensitiveNewMatchedLocation ;
223
- final String caseSensitiveUriPath ;
222
+ final String newMatchedLocationToCompare ;
223
+ final String uriPathToCompare ;
224
224
if (route.caseSensitive) {
225
- caseSensitiveNewMatchedLocation = newMatchedLocation;
226
- caseSensitiveUriPath = uri.path;
225
+ newMatchedLocationToCompare = newMatchedLocation;
226
+ uriPathToCompare = uri.path;
227
227
} else {
228
- caseSensitiveNewMatchedLocation = newMatchedLocation.toLowerCase ();
229
- caseSensitiveUriPath = uri.path.toLowerCase ();
228
+ newMatchedLocationToCompare = newMatchedLocation.toLowerCase ();
229
+ uriPathToCompare = uri.path.toLowerCase ();
230
230
}
231
- if (caseSensitiveNewMatchedLocation == caseSensitiveUriPath ) {
231
+ if (newMatchedLocationToCompare == uriPathToCompare ) {
232
232
// A complete match.
233
233
pathParameters.addAll (currentPathParameter);
234
234
@@ -242,7 +242,7 @@ abstract class RouteMatchBase with Diagnosticable {
242
242
],
243
243
};
244
244
}
245
- assert (caseSensitiveUriPath .startsWith (caseSensitiveNewMatchedLocation ));
245
+ assert (uriPathToCompare .startsWith (newMatchedLocationToCompare ));
246
246
assert (remainingLocation.isNotEmpty);
247
247
248
248
final String childRestLoc = uri.path.substring (
0 commit comments