File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
google-cloud-clients/google-cloud-logging/src
main/java/com/google/cloud/logging
test/java/com/google/cloud/logging Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ public final class SourceLocation implements Serializable {
33
33
private final Long line ;
34
34
private final String function ;
35
35
36
+ public static Builder newBuilder () {
37
+ return new Builder ();
38
+ }
39
+
36
40
/**
37
41
* A builder for {@code SourceLocation} objects.
38
42
*/
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class SourceLocationTest {
25
25
private static final String FILE = "file" ;
26
26
private static final Long LINE = 42L ;
27
27
private static final String FUNCTION = "function" ;
28
- private static final SourceLocation SOURCE_LOCATION = new SourceLocation .Builder ()
28
+ private static final SourceLocation SOURCE_LOCATION = SourceLocation .newBuilder ()
29
29
.setFile (FILE )
30
30
.setLine (LINE )
31
31
.setFunction (FUNCTION )
You can’t perform that action at this time.
0 commit comments