Skip to content

Commit 1624879

Browse files
committed
Improve U.functions(object) method.
1 parent 8383d60 commit 1624879

File tree

1 file changed

+1
-3
lines changed
  • src/main/java/com/github/underscore

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2228,9 +2228,7 @@ public Tuple<V, K> apply(Map.Entry<K, V> entry) {
22282228
public static List<String> functions(final Object object) {
22292229
final List<String> result = newArrayList();
22302230
for (final Method method : object.getClass().getDeclaredMethods()) {
2231-
if (!method.getName().contains("$")) {
2232-
result.add(method.getName());
2233-
}
2231+
result.add(method.getName());
22342232
}
22352233
return sort(uniq(result));
22362234
}

0 commit comments

Comments
 (0)