Skip to content

Commit 61d6634

Browse files
authored
Rename main class from $ to U.
1 parent 865c531 commit 61d6634

File tree

17 files changed

+2354
-2354
lines changed

17 files changed

+2354
-2354
lines changed

math-plugin/src/main/java/com/github/underscore/math/$.java renamed to math-plugin/src/main/java/com/github/underscore/math/U.java

Lines changed: 86 additions & 86 deletions
Large diffs are not rendered by default.

math-plugin/src/test/java/com/github/underscore/math/MathTest.java

Lines changed: 121 additions & 121 deletions
Large diffs are not rendered by default.

src/main/java/com/github/underscore/Optional.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public boolean isPresent() {
5454
return !absent;
5555
}
5656

57-
public <U> Optional<? extends U> map(Function<? super T, ? extends U> mapper) {
58-
$.checkNotNull(mapper);
57+
public <F> Optional<? extends F> map(Function<? super T, ? extends F> mapper) {
58+
U.checkNotNull(mapper);
5959
if (!isPresent()) {
6060
return absent();
6161
} else {

0 commit comments

Comments
 (0)