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

Unified Diff: lib/src/protobuf/generated_message.dart

Issue 886643002: pkg/protobuf: cleanup and prep for 0.3.5 release (Closed) Base URL: https://github.com/dart-lang/dart-protobuf.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/src/protobuf/coded_buffer_reader.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/protobuf/generated_message.dart
diff --git a/lib/src/protobuf/generated_message.dart b/lib/src/protobuf/generated_message.dart
index 62d1a7c56a97994fc8f6a026bd075383abf0fdd7..768660341074eba1d4baa9978aabb90d367843b6 100644
--- a/lib/src/protobuf/generated_message.dart
+++ b/lib/src/protobuf/generated_message.dart
@@ -1028,19 +1028,6 @@ abstract class GeneratedMessage {
return type;
}
- /**
- * Returns the type associated with a given tag number, either from the
- * [BuilderInfo] associated with this [GeneratedMessage],
- * or from a known extension. If the type is unknown, [null] is returned.
- */
- int _getBaseFieldType(int tagNumber) {
- int type = info_.fieldType(tagNumber);
- if (type == null && _extensions.containsKey(tagNumber)) {
- type = _extensions[tagNumber].type;
- }
- return type;
- }
-
/*
* Returns the base field type without any of the required, repeated
* and packed bits.
« no previous file with comments | « lib/src/protobuf/coded_buffer_reader.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698