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

Unified Diff: benchmark/lib/benchmarks/repeated_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
Index: benchmark/lib/benchmarks/repeated_int64_json.dart
diff --git a/benchmark/lib/benchmarks/repeated_int64_json.dart b/benchmark/lib/benchmarks/repeated_int64_json.dart
index d7f3737f5567b7c4f679ab5f0f1fea257ee92a26..3ad18cd2dbc09a77737ae75ccb683418767714ca 100644
--- a/benchmark/lib/benchmarks/repeated_int64_json.dart
+++ b/benchmark/lib/benchmarks/repeated_int64_json.dart
@@ -7,7 +7,8 @@ library protoc.benchmark.repeated_int64_json;
import 'package:fixnum/fixnum.dart';
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 repeated ints.
@@ -70,7 +71,7 @@ class RepeatedInt64Benchmark extends Benchmark {
static const $id = BenchmarkID.READ_INT64_REPEATED_JSON;
static final $type = new BenchmarkType($id, $create);
- static $create(Request r) {
+ static RepeatedInt64Benchmark $create(Request r) {
assert(r.params.hasInt64RepeatCount());
assert(r.params.hasMessageCount());
return new RepeatedInt64Benchmark(
« no previous file with comments | « benchmark/lib/benchmarks/repeated_int32_json.dart ('k') | benchmark/lib/benchmarks/repeated_string_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698