Skip to content

Commit 6291978

Browse files
authored
Update protobuf github url (#1717)
1 parent 8603a96 commit 6291978

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/src/main/markdown/customizations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ In proto 3, unlike proto 2, primitives are not wrapped in an option by default.
295295
The standard technique to obtain an optional primitive is to wrap it inside a
296296
message (since messages are provided inside an `Option`). Google provides
297297
standard wrappers to the primitive types in
298-
[wrappers.proto](https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto).
298+
[wrappers.proto](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto).
299299

300300
`primitive_wrappers` is enabled by default for ScalaPB>=0.6.0. Whenever one
301301
of the standard wrappers is used, it will be mapped to `Option[X]` where `X`

e2e/src/main/protobuf/issue286_flat.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto2";
22

33
// We can't have the flat_package file in the main e2e protobuf directory
4-
// due to https://github.com/google/protobuf/issues/3114
4+
// due to https://github.com/protocolbuffers/protobuf/issues/3114
55
import "scalapb/scalapb.proto";
66

77
option (scalapb.options).flat_package = true;

e2e/src/main/protobuf/issue286_flat2.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto2";
22

33
// We can't have the flat_package file in the main e2e protobuf directory
4-
// due to https://github.com/google/protobuf/issues/3114
4+
// due to https://github.com/protocolbuffers/protobuf/issues/3114
55
import "scalapb/scalapb.proto";
66

77
option (scalapb.options).flat_package = true;

protobuf/scalapb/scalapb.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ message ScalaPbOptions {
3535
optional bool single_file = 5;
3636

3737
// By default, wrappers defined at
38-
// https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto,
38+
// https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto,
3939
// are mapped to an Option[T] where T is a primitive type. When this field
4040
// is set to true, we do not perform this transformation.
4141
optional bool no_primitive_wrappers = 7;

scalapb-runtime/src/main/scala/scalapb/descriptors/Descriptor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class EnumDescriptor private[descriptors] (
213213
def findValueByNumber(number: Int): Option[EnumValueDescriptor] = values.find(_.number == number)
214214

215215
// We port the trick described here to Scala:
216-
// https://github.com/google/protobuf/blob/d36c0c538a545fac5d9db6ba65c525246d4efa95/java/core/src/main/java/com/google/protobuf/Descriptors.java#L1600
216+
// https://github.com/protocolbuffers/protobuf/blob/d36c0c538a545fac5d9db6ba65c525246d4efa95/java/core/src/main/java/com/google/protobuf/Descriptors.java#L1600
217217
// With one difference that we use an Option[Int] as key instead of java.lang.Integer. We need to have the key
218218
// reachable from the EnumValueDescriptor, so we take advantage of enumValueDescriptor.proto.number which happens
219219
// to be Option[Int].

scalapb-runtime/src/main/scala/scalapb/options/ScalaPbOptions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ package scalapb.options
2121
* to a single Scala file.
2222
* @param noPrimitiveWrappers
2323
* By default, wrappers defined at
24-
* https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto,
24+
* https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto,
2525
* are mapped to an Option[T] where T is a primitive type. When this field
2626
* is set to true, we do not perform this transformation.
2727
* @param primitiveWrappers

scalapb-runtime/src/test/scalajvm/scalapb/FieldMaskUtilPropSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import org.scalacheck.Prop._
77

88
class FieldMaskUtilPropSpec extends ScalaCheckSuite {
99
// protobuf-java use guava
10-
// https://github.com/google/protobuf/blob/v3.6.0/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java#L175
11-
// https://github.com/google/protobuf/blob/v3.6.0/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java#L159
10+
// https://github.com/protocolbuffers/protobuf/blob/v3.6.0/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java#L175
11+
// https://github.com/protocolbuffers/protobuf/blob/v3.6.0/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java#L159
1212

1313
// protobuf-java convert only ASCII characters
1414
// e.g. `'\u00E0'.toUpper == '\u00C0'` but protobuf-java does not convert these characters

0 commit comments

Comments
 (0)