Skip to content

Commit cf90595

Browse files
authored
Fix documentation errors (GoogleCloudPlatform#208)
1 parent a776d91 commit cf90595

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

exporters/trace/src/main/java/com/google/cloud/opentelemetry/trace/InternalTraceExporter.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242
import java.util.Map;
4343

4444
/**
45-
* This class encapsulates internal implementation details for exporting spans for applications
46-
* running on Google cloud environment. This class should not be exposed to the end user for direct
47-
* usage.
45+
* This class encapsulates internal implementation details for exporting spans to Google Cloud
46+
* Platform. This class should not be exposed to the end user for direct usage.
4847
*/
4948
class InternalTraceExporter implements SpanExporter {
5049

exporters/trace/src/main/java/com/google/cloud/opentelemetry/trace/TraceConfiguration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ public abstract class TraceConfiguration {
6565
* Package private method to get a {@link Supplier} for the project ID. The value supplied depends
6666
* on the user-provided value via {@link TraceConfiguration.Builder#setProjectId(String)}. If user
6767
* does not provide a project ID via {@link TraceConfiguration.Builder#setProjectId(String)}, this
68-
* supplier returns a {@link Supplier} that supplies the default Project ID.
68+
* method returns a {@link Supplier} that supplies the default Project ID.
6969
*
7070
* @see ServiceOptions#getDefaultProjectId()
71-
* @return a {@link Supplier} for the project ID to be used.
71+
* @return a {@link Supplier} for the GCP project ID to be used.
7272
*/
7373
abstract Supplier<String> getProjectIdSupplier();
7474

exporters/trace/src/main/java/com/google/cloud/opentelemetry/trace/TraceExporter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static SpanExporter createWithDefaultConfiguration() {
7676
* generate the actual {@link TraceExporter}.
7777
*
7878
* @param configuration The {@link TraceConfiguration} object that determines the user preferences
79-
* for Trace.
79+
* for trace.
8080
* @return An instance of {@link TraceExporter} as a {@link SpanExporter} object
8181
*/
8282
public static SpanExporter createWithConfiguration(TraceConfiguration configuration) {

0 commit comments

Comments
 (0)