Skip to content

Commit 0440fc6

Browse files
cindy-pengcindy-penggcf-owl-bot[bot]
authored
docs: Fix typo in code comments (#1520)
* fix: Fix type in code comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: cindy-peng Co-authored-by: Owl Bot
1 parent 123851d commit 0440fc6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public LoggingHandler(
229229
* Creates a handler that publishes messages to Cloud Logging. Auto-population of the logs
230230
* metadata can be opted-out in {@code options} argument or in the configuration file. At least
231231
* one flag {@link LoggingOptions} or {@link LoggingConfig} has to be explicitly set to {@code
232-
* false} in order to opt-out the metadata auto-population.
232+
* false} in order to opt out the metadata auto-population.
233233
*
234234
* @param log the name of the log to which log entries are written
235235
* @param options options for the Cloud Logging service

google-cloud-logging/src/main/java/com/google/cloud/logging/MetadataLoader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ private String getContainerName() {
8787
/**
8888
* Distinguish between Standard and Flexible GAE environments. There is no indicator of the
8989
* environment. The path to the startup-script in the metadata attribute was selected as one of
90-
* the new values that explitly mentioning "flex" and cannot be altered by user (e.g. environment
91-
* variable). The method assumes that the resource type is already identified as {@link
92-
* Resource.AppEngine}.
90+
* the new values that explicitly mentioning "flex" and cannot be altered by user (e.g.
91+
* environment variable). The method assumes that the resource type is already identified as
92+
* {@link Resource.AppEngine}.
9393
*
9494
* @return {@link MetadataLoader.ENV_FLEXIBLE} for the Flexible environment and {@link
9595
* MetadataLoader.ENV_STANDARD} for the Standard environment.

0 commit comments

Comments
 (0)