浏览代码

Fix documentation on message differencer. (#5788)

Replaced shortn URL with intended URL.
frrakn 6 年之前
父节点
当前提交
50bd9f0a7c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/google/protobuf/util/message_differencer.h

+ 2 - 1
src/google/protobuf/util/message_differencer.h

@@ -127,7 +127,8 @@ class PROTOBUF_EXPORT MessageDifferencer {
   // defined as all fields within the two messages having the same value. This
   // differs from the Equals method above in that fields with default values
   // are considered set to said value automatically. For details on how default
-  // values are defined for each field type, see http://shortn/_x2Gv6XFrWt.
+  // values are defined for each field type, see 
+  // https://developers.google.com/protocol-buffers/docs/proto?csw=1#optional.
   // Also, Equivalent() ignores unknown fields. Use IgnoreField() and Compare()
   // if some fields should be ignored in the comparison.
   //