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

Unified Diff: benchmark/lib/benchmarks/repeated_int32_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/int64_json.dart ('k') | benchmark/lib/benchmarks/repeated_int64_json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmark/lib/benchmarks/repeated_int32_json.dart
diff --git a/benchmark/lib/benchmarks/repeated_int32_json.dart b/benchmark/lib/benchmarks/repeated_int32_json.dart
index 0de84be31b81c7a5b8107e50421adfba45d7a237..cd9fc0d369820f08d503790ca3212e74294caade 100644
--- a/benchmark/lib/benchmarks/repeated_int32_json.dart
+++ b/benchmark/lib/benchmarks/repeated_int32_json.dart
@@ -5,7 +5,8 @@
library protoc.benchmark.repeated_int32_json;
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/int32grid.pb.dart' as pb;
/// A benchmark that deserializes a grid of repeated ints.
@@ -68,7 +69,7 @@ class RepeatedInt32Benchmark extends Benchmark {
static const $id = BenchmarkID.READ_INT32_REPEATED_JSON;
static final $type = new BenchmarkType($id, $create);
- static $create(Request r) {
+ static RepeatedInt32Benchmark $create(Request r) {
assert(r.params.hasInt32RepeatCount());
assert(r.params.hasMessageCount());
return new RepeatedInt32Benchmark(
« no previous file with comments | « benchmark/lib/benchmarks/int64_json.dart ('k') | benchmark/lib/benchmarks/repeated_int64_json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698