Commit 864fdcff authored by Luca Arrotta's avatar Luca Arrotta

examples updated

parent 64f1c35b
...@@ -10,9 +10,9 @@ message Actor { ...@@ -10,9 +10,9 @@ message Actor {
} }
message Movie { message Movie {
required string title = 1; required string title = 1;
required int32 year = 2; required int32 year = 2;
} }
repeated Movie movie = 3; repeated Movie movie = 3;
optional Sex sex = 4; optional Sex sex = 4;
......
...@@ -10,9 +10,9 @@ message Actor { ...@@ -10,9 +10,9 @@ message Actor {
} }
message Movie { message Movie {
required string title = 1; required string title = 1;
required int32 year = 2; required int32 year = 2;
} }
repeated Movie movie = 3; repeated Movie movie = 3;
optional Sex sex = 4; optional Sex sex = 4;
......
...@@ -57,7 +57,7 @@ public class ChatServiceImpl extends ChatServiceImplBase { ...@@ -57,7 +57,7 @@ public class ChatServiceImpl extends ChatServiceImplBase {
//peer no longer available //peer no longer available
synchronized (observers){ synchronized (observers){
observers.remove(responseObserver); observers.remove(observer);
} }
} }
......
...@@ -10,9 +10,9 @@ message Actor { ...@@ -10,9 +10,9 @@ message Actor {
} }
message Movie { message Movie {
required string title = 1; required string title = 1;
required int32 year = 2; required int32 year = 2;
} }
repeated Movie movie = 3; repeated Movie movie = 3;
optional Sex sex = 4; optional Sex sex = 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment