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

Unified Diff: lib/src/magic_number.dart

Issue 1315033002: pkg/mime: dartfmt most of the code (Closed) Base URL: https://github.com/dart-lang/mime.git@master
Patch Set: rebase Created 5 years, 4 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/src/bound_multipart_stream.dart ('k') | lib/src/mime_multipart_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/magic_number.dart
diff --git a/lib/src/magic_number.dart b/lib/src/magic_number.dart
index 3efb2ee735087a2db044c1981df68279cded3626..bc939f66ce19c77c440a7f7b8bdc2a09861aea94 100644
--- a/lib/src/magic_number.dart
+++ b/lib/src/magic_number.dart
@@ -24,7 +24,6 @@ class MagicNumber {
return true;
}
-
}
const int DEFAULT_MAGIC_NUMBERS_MAX_LENGTH = 12;
@@ -35,8 +34,8 @@ const List<MagicNumber> DEFAULT_MAGIC_NUMBERS = const [
const MagicNumber('image/gif', const [0x47, 0x49, 0x46, 0x38, 0x37, 0x61]),
const MagicNumber('image/gif', const [0x47, 0x49, 0x46, 0x38, 0x39, 0x61]),
const MagicNumber('image/jpeg', const [0xFF, 0xD8]),
- const MagicNumber('image/png',
- const [0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A]),
+ const MagicNumber(
+ 'image/png', const [0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A]),
const MagicNumber('image/tiff', const [0x49, 0x49, 0x2A, 0x00]),
const MagicNumber('image/tiff', const [0x4D, 0x4D, 0x00, 0x2A]),
const MagicNumber(
« no previous file with comments | « lib/src/bound_multipart_stream.dart ('k') | lib/src/mime_multipart_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698