Skip to content

Commit f10d04d

Browse files
author
nicolaiparlog
committed
Finished calling fields "fields" instead of "attributes".
1 parent 33298a3 commit f10d04d

18 files changed

+41
-41
lines changed

src/demo/java/org/codefx/libfx/nesting/NestedDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
*/
1818
public class NestedDemo {
1919

20-
// #region ATTRIBUTES
20+
// #region FIELDS
2121

2222
/**
2323
* The currently selected employee.
2424
*/
2525
private final Property<Employee> currentEmployee;
2626

27-
//#end ATTRIBUTES
27+
//#end FIELDS
2828

2929
// #region CONSTRUCTION & MAIN
3030

src/main/java/org/codefx/libfx/concurrent/when/ExecuteAlwaysWhen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class ExecuteAlwaysWhen<T> {
5858
* on the first execution of the action.
5959
*/
6060

61-
// #region ATTRIBUTES
61+
// #region FIELDS
6262

6363
/**
6464
* The {@link ObservableValue} upon whose value the action's execution depends.
@@ -95,7 +95,7 @@ public class ExecuteAlwaysWhen<T> {
9595
*/
9696
private final AtomicBoolean alreadyExecuted;
9797

98-
// #end ATTRIBUTES
98+
// #end FIELDS
9999

100100
/**
101101
* Creates a new instance from the specified arguments. *

src/main/java/org/codefx/libfx/concurrent/when/ExecuteOnceWhen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class ExecuteOnceWhen<T> {
4848
* condition, it is checked (and set to false). If it contained true, the action will be executed.
4949
*/
5050

51-
// #region ATTRIBUTES
51+
// #region FIELDS
5252

5353
/**
5454
* The {@link ObservableValue} upon whose value the action's execution depends.
@@ -81,7 +81,7 @@ public class ExecuteOnceWhen<T> {
8181
*/
8282
private final AtomicBoolean executeWhenWasAlreadyCalled;
8383

84-
// #end ATTRIBUTES
84+
// #end FIELDS
8585

8686
/**
8787
* Creates a new instance from the specified arguments.

src/main/java/org/codefx/libfx/control/properties/AbstractControlPropertyListenerHandle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
abstract class AbstractControlPropertyListenerHandle implements ControlPropertyListenerHandle {
1313

14-
// #region ATTRIBUTES
14+
// #region FIELDS
1515

1616
/**
1717
* The properties to which the {@link #listener} will be added.
@@ -33,7 +33,7 @@ abstract class AbstractControlPropertyListenerHandle implements ControlPropertyL
3333
*/
3434
private boolean attached;
3535

36-
// #end ATTRIBUTES
36+
// #end FIELDS
3737

3838
// #region CONSTRUCTION
3939

src/main/java/org/codefx/libfx/control/properties/ControlPropertyListenerBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
public class ControlPropertyListenerBuilder<T> {
2626

27-
// #region ATTRIBUTES
27+
// #region FIELDS
2828

2929
/**
3030
* The properties which will be observed.
@@ -46,7 +46,7 @@ public class ControlPropertyListenerBuilder<T> {
4646
*/
4747
private Optional<Class<T>> valueType;
4848

49-
// #end ATTRIBUTES
49+
// #end FIELDS
5050

5151
// #region CONSTRUCTION & SETTING VALUES
5252

@@ -160,7 +160,7 @@ public ControlPropertyListenerHandle buildDetached() {
160160
}
161161

162162
/**
163-
* Checks whether the attributes are valid so they can be used to {@link #buildDetached()} a listener.
163+
* Checks whether the fields are valid so they can be used to {@link #buildDetached() build} a listener.
164164
*/
165165
private void checkFields() {
166166
if (key == null)

src/main/java/org/codefx/libfx/control/webview/DefaultWebViewHyperlinkListenerHandle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class DefaultWebViewHyperlinkListenerHandle implements WebViewHyperlinkListenerH
3737
* it easier, all instances of org.w3c.dom classes carry a 'dom'-prefix.
3838
*/
3939

40-
// #region ATTRIBUTES
40+
// #region FIELDS
4141

4242
/**
4343
* The {@link WebView} to which the {@link #domEventListener} will be attached.
@@ -78,7 +78,7 @@ class DefaultWebViewHyperlinkListenerHandle implements WebViewHyperlinkListenerH
7878
*/
7979
private boolean attached;
8080

81-
// #end ATTRIBUTES
81+
// #end FIELDS
8282

8383
/**
8484
* Creates a new listener handle for the specified arguments. The listener is not attached to the web view.

src/main/java/org/codefx/libfx/nesting/AbstractNestingBuilderOnObservable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import javafx.beans.Observable;
1010
import javafx.beans.value.ObservableValue;
1111

12-
import org.codefx.libfx.nesting.listener.NestedInvalidationListenerHandle;
1312
import org.codefx.libfx.nesting.listener.NestedInvalidationListenerBuilder;
13+
import org.codefx.libfx.nesting.listener.NestedInvalidationListenerHandle;
1414

1515
/**
1616
* A superclass for builders for all kinds of nested functionality. Holds the nesting hierarchy (outer observable and
@@ -217,7 +217,7 @@ public NestingConstructionKit() {
217217

218218
//#end CONSTRUCTOR
219219

220-
// #region PROPERTY ACCESS
220+
// #region ACCESSORS
221221

222222
/**
223223
* @return the outer {@link ObservableValue}
@@ -243,7 +243,7 @@ public List<NestingStep> getNestingSteps() {
243243
return nestingSteps;
244244
}
245245

246-
//#end PROPERTY ACCESS
246+
//#end ACCESSORS
247247

248248
}
249249

src/main/java/org/codefx/libfx/nesting/DeepNesting.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private void updateNestingFromLevel(int startLevel) {
182182
new NestingUpdater(startLevel).update();
183183
}
184184

185-
// #region PROPERTY ACCESS
185+
// #region ACCESSORS
186186

187187
/**
188188
* {@inheritDoc}
@@ -192,7 +192,7 @@ public ReadOnlyProperty<Optional<O>> innerObservableProperty() {
192192
return inner;
193193
}
194194

195-
//#end PROPERTY ACCESS
195+
//#end ACCESSORS
196196

197197
// #region PRIVATE CLASSES
198198

src/main/java/org/codefx/libfx/nesting/property/AbstractNestedPropertyBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected AbstractNestedPropertyBuilder(Nesting<O> nesting) {
6363

6464
//#end ABSTRACT METHODS
6565

66-
// #region PROPERTY ACCESS
66+
// #region ACCESSORS
6767

6868
/**
6969
* @return the nesting which will be used for all nested properties
@@ -133,6 +133,6 @@ public AbstractNestedPropertyBuilder<O, P> setName(String name) {
133133
return this;
134134
}
135135

136-
//#end PROPERTY ACCESS
136+
//#end ACCESSORS
137137

138138
}

src/main/java/org/codefx/libfx/serialization/SerializableOptional.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
*/
8080
public final class SerializableOptional<T extends Serializable> implements Serializable {
8181

82-
// ATTRIBUTES
82+
// FIELDS
8383

8484
@SuppressWarnings("javadoc")
8585
private static final long serialVersionUID = -652697447004597911L;

0 commit comments

Comments
 (0)