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

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

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 7 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: third_party/protobuf/java/core/src/main/java/com/google/protobuf/RpcUtil.java
diff --git a/third_party/protobuf/java/src/main/java/com/google/protobuf/RpcUtil.java b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/RpcUtil.java
similarity index 98%
rename from third_party/protobuf/java/src/main/java/com/google/protobuf/RpcUtil.java
rename to third_party/protobuf/java/core/src/main/java/com/google/protobuf/RpcUtil.java
index 694b8d132b4c60c275c32051d77a23e9510d1ef1..f7d555ae155f51e55d54610f6251e743163dc18d 100644
--- a/third_party/protobuf/java/src/main/java/com/google/protobuf/RpcUtil.java
+++ b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/RpcUtil.java
@@ -71,6 +71,7 @@ public final class RpcUtil {
final Class<Type> originalClass,
final Type defaultInstance) {
return new RpcCallback<Message>() {
+ @Override
public void run(final Message parameter) {
Type typedParameter;
try {
@@ -107,8 +108,9 @@ public final class RpcUtil {
return new RpcCallback<ParameterType>() {
private boolean alreadyCalled = false;
+ @Override
public void run(final ParameterType parameter) {
- synchronized(this) {
+ synchronized (this) {
if (alreadyCalled) {
throw new AlreadyCalledException();
}

Powered by Google App Engine
This is Rietveld 408576698