Package org.waveprotocol.wave.diff.proto.FetchDiffResponseProtoImpl

Examples of org.waveprotocol.wave.diff.proto.FetchDiffResponseProtoImpl.WaveletDiffProtoImpl.copyFrom()


  private WaveletDiffProtoImpl getOrCreateWaveletDiffProtoImpl(WaveletDiff message) {
    if (message instanceof WaveletDiffProtoImpl) {
      return (WaveletDiffProtoImpl) message;
    } else {
      WaveletDiffProtoImpl messageImpl = new WaveletDiffProtoImpl();
      messageImpl.copyFrom(message);
      return messageImpl;
    }
  }

  /** Get or create a WaveletDiffSnapshotProtoImpl from a WaveletDiffSnapshot. */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.