Skip to content

Commit

Permalink
cleanup: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabirmean committed Nov 10, 2022
1 parent 7564437 commit f0f3eda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public static void main(String[] args) throws IOException, InterruptedException

// To check error handling, use an invalid catalog in request
// branchName = String.format(
// "projects/%s/locations/global/catalogs/invalid_catalog/branches/default_branch", projectId);
// "projects/%s/locations/global/catalogs/invalid_catalog/branches/default_branch",
// projectId);

String gcsProductsObject = "products.json";
// To check error handling, use an invalid product JSON.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public class CreateProductTest {

@Before
public void setUp() throws IOException, InterruptedException, ExecutionException {
String projectId = ServiceOptions.getDefaultProjectId();
String branchName =
final String projectId = ServiceOptions.getDefaultProjectId();
final String branchName =
String.format(
"projects/%s/locations/global/catalogs/default_catalog/branches/0", projectId);
String generatedProductId = UUID.randomUUID().toString();
final String generatedProductId = UUID.randomUUID().toString();
bout = new ByteArrayOutputStream();
PrintStream out = new PrintStream(bout);
originalPrintStream = System.out;
Expand Down

0 comments on commit f0f3eda

Please sign in to comment.