Skip to content

Commit 14cede6

Browse files
[MIN] NumberOption.value → private
1 parent 1b677d5 commit 14cede6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

basex-api/src/test/java/org/basex/api/xmldb/XMLDBBaseTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public abstract class XMLDBBaseTest extends SandboxTest {
2121
static final String DRIVER = BXDatabase.class.getName();
2222
/** Database/document path. */
2323
static final String URL =
24-
"xmldb:" + Prop.PROJECT_NAME + "://" + S_LOCALHOST + ':' + StaticOptions.PORT.value + '/';
24+
"xmldb:" + Prop.PROJECT_NAME + "://" + S_LOCALHOST + ':' + StaticOptions.PORT.value() + '/';
2525
/** Name of the collection. */
2626
static final String COLL = "XMLDB";
2727
/** Database/document path. */

basex-core/src/main/java/org/basex/gui/dialog/DialogColors.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ private BaseXSlider newSlider(final NumberOption option) {
7979
public void action(final Object comp) {
8080
if(comp instanceof BaseXButton) {
8181
// reset default values
82-
sliderRed.setValue(GUIOptions.COLORRED.value);
83-
sliderGreen.setValue(GUIOptions.COLORGREEN.value);
84-
sliderBlue.setValue(GUIOptions.COLORBLUE.value);
82+
sliderRed.setValue(GUIOptions.COLORRED.value());
83+
sliderGreen.setValue(GUIOptions.COLORGREEN.value());
84+
sliderBlue.setValue(GUIOptions.COLORBLUE.value());
8585
}
8686
sliderRed.assign();
8787
sliderGreen.assign();

basex-core/src/main/java/org/basex/util/options/NumberOption.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
public final class NumberOption extends Option<Integer> {
1010
/** Default value. */
11-
public final Integer value;
11+
private final Integer value;
1212

1313
/**
1414
* Default constructor.

0 commit comments

Comments
 (0)