Comment #3 on issue 458 by dav.co...@gmail.com: Remove clone() from all interfaces, it is wrong; make them extend Cloneable, instead.
http://code.google.com/p/protobuf/issues/detail?id=458

Also, this AbstractMessage.Builder snippet:

// The compiler produces an error if this is not declared explicitly.
@Override
public abstract BuilderType clone();

by removing the clone() method from the Builder interfaces, the code above should be sufficient and without any compilation errors. Thus, all AbstractMessage.Builder subclasses, including DynamicMessage.Builder and GeneratedMessage.Builder ones, will work with clone() as-is; problem solved!





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


Reply via email to