Skip to content

Commit 194f845

Browse files
dzlier-gcpchingor13
authored andcommitted
Fixing build issues caused by dependency update. (#1055)
* Auto-update dependencies. * Fix build errors caused by dependency updates.
1 parent 82c70a3 commit 194f845

File tree

1 file changed

+1
-1
lines changed
  • errorreporting/snippets/src/main/java/com/example/errorreporting

1 file changed

+1
-1
lines changed

errorreporting/snippets/src/main/java/com/example/errorreporting/QuickStart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {
3838

3939
// Google Cloud Platform Project ID
4040
String projectId = (args.length > 0) ? args[0] : ServiceOptions.getDefaultProjectId();
41-
ProjectName projectName = ProjectName.create(projectId);
41+
ProjectName projectName = ProjectName.of(projectId);
4242

4343
// Instantiate an Error Reporting Client
4444
try (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {

0 commit comments

Comments
 (0)