Skip to content

Commit 835d53e

Browse files
author
nicolaiparlog
committed
Rename beginning of regions from '#region' to '#begin'
1 parent 2827523 commit 835d53e

File tree

95 files changed

+263
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+263
-263
lines changed

src/demo/java/org/codefx/libfx/collection/transform/OptionalTransformingSetDemo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
public class OptionalTransformingSetDemo {
1414

15-
// #region FIELDS
15+
// #begin FIELDS
1616

1717
/**
1818
* The inner set, which - for some strange
@@ -23,7 +23,7 @@ public class OptionalTransformingSetDemo {
2323

2424
// #end FIELDS
2525

26-
// #region CONSTRUCTION & MAIN
26+
// #begin CONSTRUCTION & MAIN
2727

2828
/**
2929
* Creates a new demo.
@@ -53,7 +53,7 @@ public static void main(String[] args) {
5353

5454
// #end CONSTRUCTION & MAIN
5555

56-
// #region DEMOS
56+
// #begin DEMOS
5757

5858
private void modifyingInnerSet() {
5959
print("-- Modifying the inner set --");

src/demo/java/org/codefx/libfx/collection/transform/TransformingSetDemo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
public class TransformingSetDemo {
1616

17-
// #region FIELDS
17+
// #begin FIELDS
1818

1919
/**
2020
* The set of strings which will be the inner/transformed set.
@@ -28,7 +28,7 @@ public class TransformingSetDemo {
2828

2929
// #end FIELDS
3030

31-
// #region CONSTRUCTION, MAIN & TRANSFORMATION
31+
// #begin CONSTRUCTION, MAIN & TRANSFORMATION
3232

3333
/**
3434
* Creates a new demo.
@@ -68,7 +68,7 @@ private String integerToString(Integer integer) {
6868

6969
// #end CONSTRUCTION, MAIN & TRANSFORMATION
7070

71-
// #region DEMOS
71+
// #begin DEMOS
7272

7373
private void modifyingInnerSet() {
7474
print("-- Modifying the inner set --");

src/demo/java/org/codefx/libfx/control/properties/ControlPropertyListenerDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@SuppressWarnings("static-method")
1515
public class ControlPropertyListenerDemo {
1616

17-
// #region CONSTRUCTION & MAIN
17+
// #begin CONSTRUCTION & MAIN
1818

1919
/**
2020
* Creates a new demo.
@@ -43,7 +43,7 @@ public static void main(String[] args) {
4343

4444
// #end CONSTRUCTION & MAIN
4545

46-
// #region DEMOS
46+
// #begin DEMOS
4747

4848
/**
4949
* Demonstrates the simple case, in which a value processor is added for some key.

src/demo/java/org/codefx/libfx/control/webview/WebViewHyperlinkListenerDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
public class WebViewHyperlinkListenerDemo extends Application {
2222

23-
// #region INITIALIZATION
23+
// #begin INITIALIZATION
2424

2525
/**
2626
* Runs this demo.
@@ -96,7 +96,7 @@ private static CheckBox createCancelEventBox() {
9696

9797
// #end INITIALIZATION
9898

99-
// #region LISTENER
99+
// #begin LISTENER
100100

101101
/**
102102
* Attaches/detaches the specified listener to/from the specified web view according to the specified property's

src/demo/java/org/codefx/libfx/listener/handle/ListenerHandleDemo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@SuppressWarnings("static-method")
1212
public class ListenerHandleDemo {
1313

14-
// #region CONSTRUCTION & MAIN
14+
// #begin CONSTRUCTION & MAIN
1515

1616
/**
1717
* Creates a new demo.
@@ -36,7 +36,7 @@ public static void main(String[] args) {
3636

3737
// #end CONSTRUCTION & MAIN
3838

39-
// #region DEMOS
39+
// #begin DEMOS
4040

4141
// construction
4242

@@ -121,7 +121,7 @@ private void attachAndDetach() {
121121

122122
// #end DEMOS
123123

124-
// #region NESTED CLASSES
124+
// #begin NESTED CLASSES
125125

126126
/**
127127
* Represents a custom observable instance. Note that it is not necessary to implement {@link Observable} (or any

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Property<Address> addressProperty() {
5454
return address;
5555
}
5656

57-
// #region INNER CLASSES
57+
// #begin INNER CLASSES
5858

5959
/**
6060
* A simple demo class which represents an employee's address.

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

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

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

2222
/**
2323
* The currently selected employee.
@@ -26,7 +26,7 @@ public class NestedDemo {
2626

2727
//#end FIELDS
2828

29-
// #region CONSTRUCTION & MAIN
29+
// #begin CONSTRUCTION & MAIN
3030

3131
/**
3232
* Creates a new demo.
@@ -56,7 +56,7 @@ public static void main(String[] args) {
5656

5757
//#end CONSTRUCTION & MAIN
5858

59-
// #region DEMOS
59+
// #begin DEMOS
6060

6161
/**
6262
* Demonstrates how to create a {@link Nesting}.

src/main/java/org/codefx/libfx/collection/transform/AbstractTransformingCollection.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
abstract class AbstractTransformingCollection<I, O> implements Collection<O> {
2323

24-
// #region CONSTANTS
24+
// #begin CONSTANTS
2525

2626
/**
2727
* The largest possible (non-power of two) array size.
@@ -40,7 +40,7 @@ abstract class AbstractTransformingCollection<I, O> implements Collection<O> {
4040

4141
// #end CONSTANTS
4242

43-
// #region IMPLEMENTATION OF 'Collection<O>'
43+
// #begin IMPLEMENTATION OF 'Collection<O>'
4444

4545
/**
4646
* Indicates whether the specified collection is equivalent to this one. This is the case if it is also an
@@ -359,7 +359,7 @@ public Spliterator<O> spliterator() {
359359
return new ForwardingTransformingSpliterator();
360360
}
361361

362-
// #region TOARRAY
362+
// #begin TOARRAY
363363

364364
@Override
365365
public Object[] toArray() {
@@ -568,7 +568,7 @@ private static <T> T[] markEndWithNull(T[] array, int nullIndex) {
568568

569569
// #end IMPLEMENTATION OF 'Collection<O>'
570570

571-
// #region OBJECT
571+
// #begin OBJECT
572572

573573
@Override
574574
public abstract boolean equals(Object object);
@@ -585,7 +585,7 @@ public String toString() {
585585

586586
// #end OBJECT
587587

588-
// #region ABSTRACT METHODS
588+
// #begin ABSTRACT METHODS
589589

590590
/**
591591
* @return the inner collection wrapped by this transforming collection
@@ -646,7 +646,7 @@ public String toString() {
646646

647647
// #end ABSTRACT METHODS
648648

649-
// #region INNER CLASSES
649+
// #begin INNER CLASSES
650650

651651
/**
652652
* A transforming iterator which directly forwards all transformation calls to the abstract methods in this

src/main/java/org/codefx/libfx/collection/transform/AbstractTransformingIterator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
abstract class AbstractTransformingIterator<I, O> implements Iterator<O> {
1616

17-
// #region IMPLEMENTATION OF 'Iterator<O>'
17+
// #begin IMPLEMENTATION OF 'Iterator<O>'
1818

1919
@Override
2020
public boolean hasNext() {
@@ -43,7 +43,7 @@ public void forEachRemaining(Consumer<? super O> action) {
4343

4444
// #end IMPLEMENTATION OF 'Iterator<O>'
4545

46-
// #region ABSTRACT METHODS
46+
// #begin ABSTRACT METHODS
4747

4848
/**
4949
* @return the wrapped/inner iterator

src/main/java/org/codefx/libfx/collection/transform/AbstractTransformingList.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public List<O> subList(int fromIndex, int toIndex) {
177177
return new ForwardingSubList(fromIndex, toIndex);
178178
}
179179

180-
// #region OBJECT
180+
// #begin OBJECT
181181

182182
@Override
183183
public final boolean equals(Object object) {
@@ -209,7 +209,7 @@ public final int hashCode() {
209209

210210
// #end OBJECT
211211

212-
// #region INNER CLASSES
212+
// #begin INNER CLASSES
213213

214214
/**
215215
* A transforming list iterator which directly forwards all transformation calls to the abstract methods in this

0 commit comments

Comments
 (0)