Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: lib/src/cascade.dart

Issue 837193005: pkg/shelf: formatted code (Closed) Base URL: https://github.com/dart-lang/shelf.git@master
Patch Set: nits Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/shelf_io.dart ('k') | lib/src/handlers/logger.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/cascade.dart
diff --git a/lib/src/cascade.dart b/lib/src/cascade.dart
index 778acec66666794e1e633861ab7a570aee482303..f4e7cadd57f49de8f191c532bc69ec2b8788ff40 100644
--- a/lib/src/cascade.dart
+++ b/lib/src/cascade.dart
@@ -81,8 +81,8 @@ class Cascade {
/// Computes the [Cascade._shouldCascade] function based on the user's
/// parameters.
-Function _computeShouldCascade(Iterable<int> statusCodes,
- Function shouldCascade) {
+Function _computeShouldCascade(
+ Iterable<int> statusCodes, Function shouldCascade) {
if (shouldCascade != null) return shouldCascade;
if (statusCodes == null) statusCodes = [404, 405];
statusCodes = statusCodes.toSet();
« no previous file with comments | « lib/shelf_io.dart ('k') | lib/src/handlers/logger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698