Skip to content

fix(retail): add region tag for Java - Update purge user events #10125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

package events;

// [START retail_purge_user_events]

import static setup.SetupCleanup.writeUserEvent;

import com.google.api.gax.longrunning.OperationFuture;
Expand Down Expand Up @@ -73,3 +75,5 @@ public static void callPurgeUserEvents(String defaultCatalog, String visitorId)
}
}
}

// [END retail_purge_user_events]
Comment on lines +78 to +79
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the recommendation for the [START] tag, the blank line before the [END] tag could also be removed. The tag marks the end of the preceding code block and doesn't need to be separated by a blank line to be clear.

Suggested change
// [END retail_purge_user_events]
// [END retail_purge_user_events]