Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Potucek committed Dec 27, 2024
1 parent 4423cfb commit 1f8e193
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ public class Constants {
public static final String FOO = "FOO";
}
class A {
private <T> void r(T entity) {
entity.toString().equals(Constants.FOO);
private <T> void r(T e) {
e.toString().equals(Constants.FOO);
}
}
""",
Expand All @@ -285,8 +285,8 @@ public class Constants {
public static final String FOO = "FOO";
}
class A {
private <T> void r(T entity) {
Constants.FOO.equals(entity.toString());
private <T> void r(T e) {
Constants.FOO.equals(e.toString());
}
}
"""
Expand Down Expand Up @@ -350,10 +350,10 @@ void r(String k, String v) {
}
}
class A {
private <T extends C> void rr(List<String> f, T entity) {
private <T extends C> void rr(List<String> f, T e) {
f.stream()
.filter(fn -> entity.c(fn))
.forEach(fn -> entity.get(fn).equals(Constants.FOO));
.filter(fn -> e.c(fn))
.forEach(fn -> e.get(fn).equals(Constants.FOO));
}
}
""",
Expand All @@ -375,10 +375,10 @@ void r(String k, String v) {
}
}
class A {
private <T extends C> void rr(List<String> f, T entity) {
private <T extends C> void rr(List<String> f, T e) {
f.stream()
.filter(fn -> entity.c(fn))
.forEach(fn -> Constants.FOO.equals(entity.get(fn)));
.filter(fn -> e.c(fn))
.forEach(fn -> Constants.FOO.equals(e.get(fn)));
}
}
""")
Expand Down

0 comments on commit 1f8e193

Please sign in to comment.