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

Unified Diff: third_party/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 4 years 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: third_party/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java
diff --git a/third_party/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java
index 55e33d21d074562639291c6c37f995f978c02c40..85ce7b24ac8a116f876a0cd274368b40219c2a3a 100644
--- a/third_party/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java
+++ b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java
@@ -107,23 +107,11 @@ public class InvalidProtocolBufferException extends IOException {
"Protocol message end-group tag did not match expected tag.");
}
- static InvalidWireTypeException invalidWireType() {
- return new InvalidWireTypeException(
+ static InvalidProtocolBufferException invalidWireType() {
+ return new InvalidProtocolBufferException(
"Protocol message tag had invalid wire type.");
}
- /**
- * Exception indicating that and unexpected wire type was encountered for a field.
- */
- @ExperimentalApi
- public static class InvalidWireTypeException extends InvalidProtocolBufferException {
- private static final long serialVersionUID = 3283890091615336259L;
-
- public InvalidWireTypeException(String description) {
- super(description);
- }
- }
-
static InvalidProtocolBufferException recursionLimitExceeded() {
return new InvalidProtocolBufferException(
"Protocol message had too many levels of nesting. May be malicious. " +

Powered by Google App Engine
This is Rietveld 408576698