From 736ca404fa4070c618db16178ac34b2be657dae1 Mon Sep 17 00:00:00 2001 From: William Tucker Date: Mon, 6 Jul 2020 10:32:37 -0600 Subject: [PATCH] improve english grammer change language from "..do no match with execution data" to "..do not match with execution data. --- jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh | 2 +- jacoco-maven-plugin/src/org/jacoco/maven/ReportSupport.java | 2 +- org.jacoco.ant.test/src/org/jacoco/ant/ReportTaskTest.xml | 2 +- org.jacoco.ant/src/org/jacoco/ant/ReportTask.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh b/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh index b604368793..f453c2e61d 100644 --- a/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh +++ b/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh @@ -14,7 +14,7 @@ import java.io.*; import org.codehaus.plexus.util.*; String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) ); -if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do no match with execution data." ) < 0 ) { +if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do not match with execution data." ) < 0 ) { throw new RuntimeException( "Warning 1 was not printed" ); } if ( buildLog.indexOf( "For report generation the same class files must be used as at runtime." ) < 0 ) { diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/ReportSupport.java b/jacoco-maven-plugin/src/org/jacoco/maven/ReportSupport.java index 6409cf0068..86ceaa0147 100644 --- a/jacoco-maven-plugin/src/org/jacoco/maven/ReportSupport.java +++ b/jacoco-maven-plugin/src/org/jacoco/maven/ReportSupport.java @@ -216,7 +216,7 @@ private void logBundleInfo(final IBundleCoverage bundle, Integer.valueOf(bundle.getClassCounter().getTotalCount()))); if (!nomatch.isEmpty()) { log.warn(format( - "Classes in bundle '%s' do no match with execution data. " + "Classes in bundle '%s' do not match with execution data. " + "For report generation the same class files must be used as at runtime.", bundle.getName())); for (final IClassCoverage c : nomatch) { diff --git a/org.jacoco.ant.test/src/org/jacoco/ant/ReportTaskTest.xml b/org.jacoco.ant.test/src/org/jacoco/ant/ReportTaskTest.xml index a56f6b395a..84b073b8c4 100644 --- a/org.jacoco.ant.test/src/org/jacoco/ant/ReportTaskTest.xml +++ b/org.jacoco.ant.test/src/org/jacoco/ant/ReportTaskTest.xml @@ -129,7 +129,7 @@ - + diff --git a/org.jacoco.ant/src/org/jacoco/ant/ReportTask.java b/org.jacoco.ant/src/org/jacoco/ant/ReportTask.java index 148e8f1307..8ca07cb200 100644 --- a/org.jacoco.ant/src/org/jacoco/ant/ReportTask.java +++ b/org.jacoco.ant/src/org/jacoco/ant/ReportTask.java @@ -585,7 +585,7 @@ private void logBundleInfo(final IBundleCoverage bundle, Integer.valueOf(bundle.getClassCounter().getTotalCount()))); if (!nomatch.isEmpty()) { log(format( - "Classes in bundle '%s' do no match with execution data. " + "Classes in bundle '%s' do not match with execution data. " + "For report generation the same class files must be used as at runtime.", bundle.getName()), Project.MSG_WARN); for (final IClassCoverage c : nomatch) {