You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/08/27 08:36:53 UTC

[maven-javadoc-plugin] branch MJAVADOC-618 updated: Use size-method

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MJAVADOC-618
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git


The following commit(s) were added to refs/heads/MJAVADOC-618 by this push:
     new 702244c  Use size-method
702244c is described below

commit 702244c801e3fa57656e3a8f267f8a35090a6678
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Aug 27 10:36:43 2021 +0200

    Use size-method
---
 src/it/projects/MJAVADOC-618_modular-war/verify.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/it/projects/MJAVADOC-618_modular-war/verify.groovy b/src/it/projects/MJAVADOC-618_modular-war/verify.groovy
index 273c09d..519f0e1 100644
--- a/src/it/projects/MJAVADOC-618_modular-war/verify.groovy
+++ b/src/it/projects/MJAVADOC-618_modular-war/verify.groovy
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-assert new File( basedir, 'target/apidocs/argfile').readLines().size == 4
+assert new File( basedir, 'target/apidocs/argfile').readLines().size() == 4
 assert new File( basedir, 'target/apidocs/com.mycompany.lib/com/mycompany/lib/Library.html').exists()
 assert new File( basedir, 'target/apidocs/com.mycompany.app/com/mycompany/app/Application.html').exists()