Skip to content

Commit bbea8ab

Browse files
committed
Qualify all yield() calls
1 parent fd5ff09 commit bbea8ab

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ We use these goals frequently to keep the dependencies and plugins up-to-date:
7373
<maven.compiler.version>3.8.0</maven.compiler.version>
7474
<maven.deploy.version>3.0.0-M1</maven.deploy.version>
7575
<maven.gpg.version>1.6</maven.gpg.version>
76-
<maven.jacoco.version>0.8.2</maven.jacoco.version>
76+
<maven.jacoco.version>0.8.12</maven.jacoco.version>
7777
<maven.jar.version>3.1.1</maven.jar.version>
7878
<maven.javadoc.version>3.0.1</maven.javadoc.version>
7979
<maven.release.version>2.5.3</maven.release.version>
8080
<maven.versions.version>2.7</maven.versions.version>
81-
<maven.surefire.version>3.0.0-M3</maven.surefire.version>
81+
<maven.surefire.version>3.3.1</maven.surefire.version>
8282
<maven.source.version>3.0.1</maven.source.version>
8383
<maven.exec.version>1.5.0</maven.exec.version>
8484
<scala.maven.version>3.4.4</scala.maven.version>

vavr/generator/Generator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def generateMainClasses(): Unit = {
838838
* @return an {@code Iterator} of mapped results
839839
*/
840840
public $rtype<T1> yield() {
841-
return yield(Function.identity());
841+
return this.yield(Function.identity());
842842
}
843843
""")}
844844
}

vavr/src-gen/main/java/io/vavr/API.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3260,7 +3260,7 @@ public <R> Iterator<R> yield(Function<? super T1, ? extends R> f) {
32603260
* @return an {@code Iterator} of mapped results
32613261
*/
32623262
public Iterator<T1> yield() {
3263-
return yield(Function.identity());
3263+
return this.yield(Function.identity());
32643264
}
32653265
}
32663266

@@ -3559,7 +3559,7 @@ public <R> Option<R> yield(Function<? super T1, ? extends R> f) {
35593559
* @return an {@code Iterator} of mapped results
35603560
*/
35613561
public Option<T1> yield() {
3562-
return yield(Function.identity());
3562+
return this.yield(Function.identity());
35633563
}
35643564
}
35653565

@@ -3858,7 +3858,7 @@ public <R> Future<R> yield(Function<? super T1, ? extends R> f) {
38583858
* @return an {@code Iterator} of mapped results
38593859
*/
38603860
public Future<T1> yield() {
3861-
return yield(Function.identity());
3861+
return this.yield(Function.identity());
38623862
}
38633863
}
38643864

@@ -4157,7 +4157,7 @@ public <R> Try<R> yield(Function<? super T1, ? extends R> f) {
41574157
* @return an {@code Iterator} of mapped results
41584158
*/
41594159
public Try<T1> yield() {
4160-
return yield(Function.identity());
4160+
return this.yield(Function.identity());
41614161
}
41624162
}
41634163

@@ -4456,7 +4456,7 @@ public <R> List<R> yield(Function<? super T1, ? extends R> f) {
44564456
* @return an {@code Iterator} of mapped results
44574457
*/
44584458
public List<T1> yield() {
4459-
return yield(Function.identity());
4459+
return this.yield(Function.identity());
44604460
}
44614461
}
44624462

@@ -5654,4 +5654,4 @@ public boolean isDefinedAt(T obj) {
56545654
}
56555655
}
56565656
}
5657-
}
5657+
}

0 commit comments

Comments
 (0)