Ok, I got it:

- the buffer at once is serializable
- a attribut of the buffer (a repeated string) might be not

so I have to copy the UnmodifiableLazyStringList to an ArrayList if
I'd like to use the attribut as an argument to pass between beans.

Pro: I dont need to include protobuf.jar into all beans if I pass
plain java collections.
Con: I have to copy the list. UnmodifiableLazyStringList could de
serializable.

js

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to