fixed docs (#3028)

This commit is contained in:
Prathik Kaliyambath 2021-03-14 00:06:04 +05:30 committed by GitHub
parent f3089acbed
commit 5f32df7b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 12 deletions

View File

@ -18,7 +18,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A factory of a {@link Resource} which provides information about the current EC2 instance if
* A factory for a {@link Resource} which provides information about the current EC2 instance if
* running on AWS Elastic Beanstalk.
*/
public final class BeanstalkResource {
@ -34,7 +34,7 @@ public final class BeanstalkResource {
private static final Resource INSTANCE = buildResource();
/**
* Returns a factory of a {@link Resource} which provides information about the current EC2
* Returns a factory for a {@link Resource} which provides information about the current EC2
* instance if running on AWS Elastic Beanstalk.
*/
public static Resource get() {

View File

@ -21,7 +21,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A factory of a {@link Resource} which provides information about the current EC2 instance if
* A factory for a {@link Resource} which provides information about the current EC2 instance if
* running on AWS EC2.
*/
public final class Ec2Resource {

View File

@ -16,7 +16,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A factory of a {@link Resource} which provides information about the current ECS container if
* A factory for a {@link Resource} which provides information about the current ECS container if
* running on AWS ECS.
*/
public final class EcsResource {
@ -28,7 +28,7 @@ public final class EcsResource {
private static final Resource INSTANCE = buildResource();
/**
* Returns a factory of a {@link Resource} which provides information about the current ECS
* Returns a factory for a {@link Resource} which provides information about the current ECS
* container if running on AWS ECS.
*/
public static Resource get() {

View File

@ -22,7 +22,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
* A factory of a {@link Resource} which provides information about the current ECS container if
* A factory for a {@link Resource} which provides information about the current ECS container if
* running on AWS EKS.
*/
public final class EksResource {
@ -40,7 +40,7 @@ public final class EksResource {
private static final Resource INSTANCE = buildResource();
/**
* Returns a factory of a {@link Resource} which provides information about the current ECS
* Returns a factory for a {@link Resource} which provides information about the current ECS
* container if running on AWS EKS.
*/
public static Resource get() {

View File

@ -12,13 +12,13 @@ import io.opentelemetry.semconv.resource.attributes.ResourceAttributes;
import java.util.Map;
import java.util.stream.Stream;
/** A factory of a {@link Resource} which provides information about the AWS Lambda function. */
/** A factory for a {@link Resource} which provides information about the AWS Lambda function. */
public final class LambdaResource {
private static final Resource INSTANCE = buildResource();
/**
* Returns a factory of a {@link Resource} which provides information about the AWS Lambda
* Returns a factory for a {@link Resource} which provides information about the AWS Lambda
* function.
*/
public static Resource get() {

View File

@ -17,7 +17,7 @@ public final class OsResource {
private static final Resource INSTANCE = buildResource();
/**
* Returns a factory of a {@link Resource} which provides information about the current operating
* Returns a factory for a {@link Resource} which provides information about the current operating
* system.
*/
public static Resource get() {

View File

@ -20,7 +20,7 @@ public final class ProcessResource {
private static final Resource INSTANCE = buildResource();
/**
* Returns a factory of a {@link Resource} which provides information about the current running
* Returns a factory for a {@link Resource} which provides information about the current running
* process.
*/
public static Resource get() {

View File

@ -17,7 +17,7 @@ public final class ProcessRuntimeResource {
private static final Resource INSTANCE = buildResource();
/** Returns a factory of a {@link Resource} which provides information about the Java runtime. */
/** Returns a factory for a {@link Resource} which provides information about the Java runtime. */
public static Resource get() {
return INSTANCE;
}