Skip to content

Commit 2a3a973

Browse files
committed
small doc fixes
1 parent 68e86e8 commit 2a3a973

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,14 @@ public class FactoryAOptions
6666
// If in-place modification of the options builder is desired,
6767
// the following methods should be left out.
6868

69-
public FactoryAOptions() {
70-
super();
71-
}
69+
public FactoryAOptions() {}
7270

7371
private FactoryAOptions(FactoryAOptions that) {
7472
super(that);
7573
}
7674

7775
@Override
78-
public FactoryAOptions copyOrThis() {
76+
protected FactoryAOptions copyOrThis() {
7977
return new FactoryAOptions(this);
8078
}
8179

src/main/java/org/scijava/optional/package-info.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,14 @@
5858
* // If in-place modification of the options builder is desired,
5959
* // the following methods should be left out.
6060
*
61-
* public FactoryAOptions() {
62-
* super();
63-
* }
61+
* public FactoryAOptions() {}
6462
*
6563
* private FactoryAOptions(FactoryAOptions that) {
6664
* super(that);
6765
* }
6866
*
6967
* \@Override
70-
* public FactoryAOptions copyOrThis() {
68+
* protected FactoryAOptions copyOrThis() {
7169
* return new FactoryAOptions(this);
7270
* }
7371
*

0 commit comments

Comments
 (0)