Skip to content

Commit d49a0f5

Browse files
authored
Fix typos and linguistic errors in documentation / hacktoberfest (#14957)
Signed-off-by: Sebastien Dionne <[email protected]>
1 parent 2edb854 commit d49a0f5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/contributing/documenting-instrumentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Some notes when writing descriptions:
150150
"This instrumentation **enables** HTTP server spans and HTTP server metrics for the ActiveJ" instead
151151
of something like "This instrumentation **provides** HTTP server spans and HTTP server metrics for the ActiveJ".
152152
* Explicitly state whether the instrumentation generates new telemetry (spans, metrics, logs).
153-
* If it doesn't generate new telemetry, clearly explain what it's purpose is, for example whether it
153+
* If it doesn't generate new telemetry, clearly explain what its purpose is, for example whether it
154154
augments or enriches existing telemetry produced by other instrumentations (e.g., by adding
155155
attributes or ensuring context propagation).
156156
* When describing the functionality of the instrumentation and the telemetry, specify using

instrumentation/rxjava/rxjava-2.0/testing/src/main/java/io/opentelemetry/instrumentation/rxjava/v2_0/RxJava2ConcurrencyTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* This test creates the specified number of traces with three spans: 1) Outer (root) span 2) Middle
1717
* span, child of outer, created in success handler of the chain subscribed to in the context of the
1818
* outer span (with some delay and map thrown in for good measure) 3) Inner span, child of middle,
19-
* created in the success handler of a new chain started and subscribed to in the the middle span
19+
* created in the success handler of a new chain started and subscribed to in the middle span
2020
*
2121
* <p>The varying delays between the stages where each span is created should guarantee that
2222
* scheduler threads handling various stages of the chain will have to alternate between contexts

instrumentation/rxjava/rxjava-3-common/testing/src/main/java/io/opentelemetry/instrumentation/rxjava/v3/common/RxJava3ConcurrencyTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* This test creates the specified number of traces with three spans: 1) Outer (root) span 2) Middle
1717
* span, child of outer, created in success handler of the chain subscribed to in the context of the
1818
* outer span (with some delay and map thrown in for good measure) 3) Inner span, child of middle,
19-
* created in the success handler of a new chain started and subscribed to in the the middle span
19+
* created in the success handler of a new chain started and subscribed to in the middle span
2020
*
2121
* <p>The varying delays between the stages where each span is created should guarantee that
2222
* scheduler threads handling various stages of the chain will have to alternate between contexts

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/AdviceTransformer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ public void visitCode() {
534534
Type[] argumentTypes = ga.getArgumentTypes();
535535

536536
if (isEnterAdvice) {
537-
// we have changed the type fo method arguments annotated with @Advice.Local to Object
537+
// we have changed the type of method arguments annotated with @Advice.Local to Object
538538
// here we'll load the argument, cast it to its actual type, and store it back
539539
for (AdviceLocal adviceLocal : adviceLocals) {
540540
ga.loadArg(adviceLocal.adviceIndex);

0 commit comments

Comments
 (0)