aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 7cfa35eed3..cccf253b56 100644
--- a/build.gradle
+++ b/build.gradle
@@ -67,7 +67,7 @@ configurations {
}
dependencies {
- antLibs("org.junit.jupiter:junit-jupiter:5.11.4")
+ antLibs("org.junit.jupiter:junit-jupiter:5.12.0")
antLibs("org.apache.ant:ant-junitlauncher:1.10.15")
}
@@ -112,7 +112,7 @@ subprojects {
commonsCompressVersion = '1.27.1'
commonsIoVersion = '2.18.0'
commonsMathVersion = '3.6.1'
- junitVersion = '5.11.4'
+ junitVersion = '5.12.0'
log4jVersion = '2.24.3'
mockitoVersion = '4.11.0'
hamcrestVersion = '3.0'
>public TextField() { clear(); } /** * Constructs an empty <code>TextField</code> with given caption. * * @param caption * the caption <code>String</code> for the editor. */ public TextField(String caption) { this(); setCaption(caption); } /** * Constructs a new <code>TextField</code> with the given caption and * initial text contents. * * @param caption * the caption <code>String</code> for the editor. * @param value * the initial text content of the editor. */ public TextField(String caption, String value) { setValue(value); setCaption(caption); } @Override protected TextFieldState getState() { return (TextFieldState) super.getState(); } @Override public void readDesign(Element design, DesignContext designContext) { super.readDesign(design, designContext); Attributes attr = design.attributes(); if (attr.hasKey("value")) { String text = DesignAttributeHandler.readAttribute("value", attr, String.class); doSetValue(text); } } @Override public void writeDesign(Element design, DesignContext designContext) { super.writeDesign(design, designContext); AbstractTextField def = (AbstractTextField) designContext .getDefaultInstance(this); Attributes attr = design.attributes(); DesignAttributeHandler.writeAttribute("value", attr, getValue(), def.getValue(), String.class); } }