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

Unified Diff: benchmark/lib/benchmarks/int64_json.dart

Issue 1829573002: Fix all strong mode warnings in protoc-plugin (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: regenerate pb.dart files Created 4 years, 9 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 | « benchmark/lib/benchmarks/int32_json.dart ('k') | benchmark/lib/benchmarks/repeated_int32_json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmark/lib/benchmarks/int64_json.dart
diff --git a/benchmark/lib/benchmarks/int64_json.dart b/benchmark/lib/benchmarks/int64_json.dart
index 289e3da8bd5e4ec0c1a851b3e828a0164f9c8813..7b0c4526c6dcbae6f1ac90a551439f38b315a22e 100644
--- a/benchmark/lib/benchmarks/int64_json.dart
+++ b/benchmark/lib/benchmarks/int64_json.dart
@@ -7,7 +7,8 @@ library protoc.benchmark.int64_json;
import 'package:fixnum/fixnum.dart' show Int64;
import '../benchmark.dart';
-import '../generated/benchmark.pb.dart' show BenchmarkID, Request, Params, Sample;
+import '../generated/benchmark.pb.dart'
+ show BenchmarkID, Request, Params, Sample;
import '../generated/int64grid.pb.dart' as pb;
/// A benchmark that deserializes a grid of int fields.
@@ -79,7 +80,7 @@ class Int64Benchmark extends Benchmark {
static const $id = BenchmarkID.READ_INT64_FIELDS_JSON;
static final $type = new BenchmarkType($id, $create);
- static $create(Request r) {
+ static Int64Benchmark $create(Request r) {
assert(r.params.hasInt64FieldCount());
assert(r.params.hasMessageCount());
return new Int64Benchmark(r.params.int64FieldCount, r.params.messageCount);
« no previous file with comments | « benchmark/lib/benchmarks/int32_json.dart ('k') | benchmark/lib/benchmarks/repeated_int32_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698