From 8067986775c3ae9e83e23785adfdd9fa9d14a2e5 Mon Sep 17 00:00:00 2001 From: Gabriel <78592838+Gabriel-Darbord@users.noreply.github.com> Date: Sat, 17 Feb 2024 11:16:33 +0100 Subject: [PATCH] Fix typos (#1579) --- .../src/org/jacoco/core/analysis/IClassCoverage.java | 2 +- .../src/org/jacoco/core/analysis/ICoverageNode.java | 2 +- org.jacoco.doc/docroot/doc/agent.html | 2 +- org.jacoco.doc/docroot/doc/flow.html | 6 +++--- org.jacoco.doc/docroot/index.html | 2 +- .../src/org/jacoco/report/IReportGroupVisitor.java | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/org.jacoco.core/src/org/jacoco/core/analysis/IClassCoverage.java b/org.jacoco.core/src/org/jacoco/core/analysis/IClassCoverage.java index f45b325095..2122c4826f 100644 --- a/org.jacoco.core/src/org/jacoco/core/analysis/IClassCoverage.java +++ b/org.jacoco.core/src/org/jacoco/core/analysis/IClassCoverage.java @@ -31,7 +31,7 @@ public interface IClassCoverage extends ISourceNode { long getId(); /** - * Returns if the the analyzed class does match the execution data provided. + * Returns if the analyzed class does match the execution data provided. * More precisely if execution data is available for a class with the same * qualified name but with a different class id. * diff --git a/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java b/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java index 3f8aa4ac0a..b292390ad1 100644 --- a/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java +++ b/org.jacoco.core/src/org/jacoco/core/analysis/ICoverageNode.java @@ -124,7 +124,7 @@ enum CounterEntity { ICounter getClassCounter(); /** - * Generic access to the the counters. + * Generic access to the counters. * * @param entity * entity we're we want to have the counter for diff --git a/org.jacoco.doc/docroot/doc/agent.html b/org.jacoco.doc/docroot/doc/agent.html index 719a843a16..afd230a848 100644 --- a/org.jacoco.doc/docroot/doc/agent.html +++ b/org.jacoco.doc/docroot/doc/agent.html @@ -28,7 +28,7 @@

Java Agent

If you use the JaCoCo Ant tasks or JaCoCo Maven plug-in you don't have to care about the - agent and its options directly. This is transparently handled by the them. + agent and its options directly. This is transparently handled by them.

diff --git a/org.jacoco.doc/docroot/doc/flow.html b/org.jacoco.doc/docroot/doc/flow.html index aaa4a7487f..c50412b6a8 100644 --- a/org.jacoco.doc/docroot/doc/flow.html +++ b/org.jacoco.doc/docroot/doc/flow.html @@ -144,7 +144,7 @@

Flow Edges

The current JaCoCo implementation ignores edges caused by implicit exceptions - and the the method entry. This means we consider SEQUENCE, JUMP, EXIT. + and the method entry. This means we consider SEQUENCE, JUMP, EXIT.

@@ -253,7 +253,7 @@

Probe Insertion Strategy

Now let's see how this rules apply to the example snippet above. We see that INVOKE d() instruction is the only node with more than one incoming edge. So we need to place probes on those edges and another probe on - the only exit node. The result is shown the the right box of the diagram + the only exit node. The result is shown the right box of the diagram above.

@@ -264,7 +264,7 @@

Additional Probes Between Lines

exceptions thrown for example from invoked methods. If the control flow between two probes is interrupted by a exception not explicitly created with a throw statement all instruction in between are considered as - not covered. This leads to unexpected results especially when the the block of + not covered. This leads to unexpected results especially when the block of instructions spans multiple lines of source code.

diff --git a/org.jacoco.doc/docroot/index.html b/org.jacoco.doc/docroot/index.html index 320d4cca4c..a99ac425b5 100644 --- a/org.jacoco.doc/docroot/index.html +++ b/org.jacoco.doc/docroot/index.html @@ -101,7 +101,7 @@

Contents

- All libraries as well as the the JaCoCo Maven plug-in + All libraries as well as the JaCoCo Maven plug-in are also available from the Maven repository.

diff --git a/org.jacoco.report/src/org/jacoco/report/IReportGroupVisitor.java b/org.jacoco.report/src/org/jacoco/report/IReportGroupVisitor.java index 2c10e802ac..50feda3ccd 100644 --- a/org.jacoco.report/src/org/jacoco/report/IReportGroupVisitor.java +++ b/org.jacoco.report/src/org/jacoco/report/IReportGroupVisitor.java @@ -37,7 +37,7 @@ public interface IReportGroupVisitor { /** - * Called to add a bundle to the the report. + * Called to add a bundle to the report. * * @param bundle * a bundle to include in the report