This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
The following commit(s) were added to refs/heads/master by this push:
new b4fa2a12 Bump CodeNarc version
b4fa2a12 is described below
commit b4fa2a128fbe960c2ed21089c9ebcb05ab8d1c80
Author: Paul King <[email protected]>
AuthorDate: Sun Dec 15 13:39:43 2024 +1000
Bump CodeNarc version
---
gradle/libs.versions.toml | 2 +-
internal/test-support-spock/src/main/groovy/geb/test/GebSpec.groovy | 2 +-
module/geb-core/src/main/groovy/geb/ConfigurationLoader.groovy | 2 +-
.../src/main/groovy/geb/content/PageContentTemplateBuilder.groovy | 2 +-
.../src/main/groovy/geb/js/DefaultAlertAndConfirmSupport.groovy | 4 ++--
module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index cd2bcec7..f424e24b 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -27,7 +27,7 @@ threeTen = "1.8.0"
[libraries]
asciidoctorj = 'org.asciidoctor:asciidoctorj:2.5.13'
cglib = 'cglib:cglib:2.2'
-codenarcGroovy4 = 'org.codenarc:CodeNarc:3.1.0-groovy-4.0'
+codenarcGroovy4 = 'org.codenarc:CodeNarc:3.5.0-groovy-4.0'
codenarc = 'org.codenarc:CodeNarc:2.2.0'
commons-fileupload = 'commons-fileupload:commons-fileupload:1.3.1'
gebSpockGroovy25 = 'org.gebish:geb-spock:4.0'
diff --git
a/internal/test-support-spock/src/main/groovy/geb/test/GebSpec.groovy
b/internal/test-support-spock/src/main/groovy/geb/test/GebSpec.groovy
index 162ee06b..f1ee622f 100644
--- a/internal/test-support-spock/src/main/groovy/geb/test/GebSpec.groovy
+++ b/internal/test-support-spock/src/main/groovy/geb/test/GebSpec.groovy
@@ -38,7 +38,7 @@ import java.util.function.Supplier
import static spock.lang.Retry.Mode.SETUP_FEATURE_CLEANUP
@DynamicallyDispatchesToBrowser
-//Work around https://github.com/SeleniumHQ/selenium/issues/9528
+// Work around https://github.com/SeleniumHQ/selenium/issues/9528
@Retry(
mode = SETUP_FEATURE_CLEANUP,
condition = GebSpec.RetryCondition
diff --git a/module/geb-core/src/main/groovy/geb/ConfigurationLoader.groovy
b/module/geb-core/src/main/groovy/geb/ConfigurationLoader.groovy
index b468b8c4..54ab0fd7 100644
--- a/module/geb-core/src/main/groovy/geb/ConfigurationLoader.groovy
+++ b/module/geb-core/src/main/groovy/geb/ConfigurationLoader.groovy
@@ -204,7 +204,7 @@ class ConfigurationLoader {
try {
loaded = loader.loadClass(className)
} catch (ClassNotFoundException cnfe) {
- //just return null if the class could not be found
+ // just return null if the class could not be found
}
loaded
}
diff --git
a/module/geb-core/src/main/groovy/geb/content/PageContentTemplateBuilder.groovy
b/module/geb-core/src/main/groovy/geb/content/PageContentTemplateBuilder.groovy
index a02c4945..4a419731 100644
---
a/module/geb-core/src/main/groovy/geb/content/PageContentTemplateBuilder.groovy
+++
b/module/geb-core/src/main/groovy/geb/content/PageContentTemplateBuilder.groovy
@@ -55,7 +55,7 @@ class PageContentTemplateBuilder {
while (clazz != stopAt) {
def templatesDefinition
- //noinspection GroovyUnusedCatchParameter
+ // noinspection GroovyUnusedCatchParameter
try {
templatesDefinition = clazz[property]
} catch (MissingPropertyException e) {
diff --git
a/module/geb-core/src/main/groovy/geb/js/DefaultAlertAndConfirmSupport.groovy
b/module/geb-core/src/main/groovy/geb/js/DefaultAlertAndConfirmSupport.groovy
index 6793009c..6c72f173 100644
---
a/module/geb-core/src/main/groovy/geb/js/DefaultAlertAndConfirmSupport.groovy
+++
b/module/geb-core/src/main/groovy/geb/js/DefaultAlertAndConfirmSupport.groovy
@@ -116,7 +116,7 @@ class DefaultAlertAndConfirmSupport implements
AlertAndConfirmSupport {
}
"""
} catch (NoSuchWindowException e) {
- //happens when code executed after the dialog closed the window
+ // happens when code executed after the dialog closed the window
UNKNOWN
}
}
@@ -129,7 +129,7 @@ class DefaultAlertAndConfirmSupport implements
AlertAndConfirmSupport {
}
"""
} catch (NoSuchWindowException e) {
- //ignore, happens when code executed after the dialog closed the
window
+ // ignore, happens when code executed after the dialog closed the
window
}
}
diff --git
a/module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy
b/module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy
index 911ed3c4..28faefd7 100644
--- a/module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy
+++ b/module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy
@@ -35,7 +35,7 @@ class OnFailureReporter implements IMethodInterceptor {
try {
spec.testManager.reportFailure()
} catch (Exception ignored) {
- //ignore
+ // ignore
}
}
throw throwable