This is an automated email from the ASF dual-hosted git repository.
jonnybot 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 899f02a7 Clarify codenarc rules
899f02a7 is described below
commit 899f02a7ae9ced97f1fc566804b63cb9a21b47aa
Author: Jonny Carter <[email protected]>
AuthorDate: Thu Dec 5 14:41:42 2024 -0600
Clarify codenarc rules
---
module/geb-core/src/main/groovy/geb/module/DateTimeLocalInput.groovy | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/module/geb-core/src/main/groovy/geb/module/DateTimeLocalInput.groovy
b/module/geb-core/src/main/groovy/geb/module/DateTimeLocalInput.groovy
index 6ffb92dd..16acd8ec 100644
--- a/module/geb-core/src/main/groovy/geb/module/DateTimeLocalInput.groovy
+++ b/module/geb-core/src/main/groovy/geb/module/DateTimeLocalInput.groovy
@@ -26,7 +26,8 @@ import static java.time.temporal.ChronoField.*
@Slf4j
class DateTimeLocalInput extends AbstractInput {
- /* codenarc-disable */
+ // codenarc-disable DuplicateNumberLiteral
+ // codenarc-disable DuplicateStringLiteral
private static final DateTimeFormatter DATE_TIME_FORMAT = new
DateTimeFormatterBuilder()
.append(DateTimeFormatter.ISO_LOCAL_DATE)
.appendLiteral('T')
@@ -37,7 +38,7 @@ class DateTimeLocalInput extends AbstractInput {
.appendValue(SECOND_OF_MINUTE, 2)
.appendFraction(MILLI_OF_SECOND, 0, 3, true)
.toFormatter()
- /* codenarc-enable */
+ // codenarc-enable
final String inputType = 'datetime-local'