Skip to content

Commit 35072e9

Browse files
javaqueryVicky Thakor
authored andcommitted
fix: warning fix
1 parent 38b0150 commit 35072e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/javaquery/util/UniqueIdGenerator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
/**
44
* @author vicky.thakor
5-
* @see https://gist.githubusercontent.com/swftvsn/438b4ed68619ad1f5d1c251dc3a5af6f/raw/d29e0fb3ecab2702bf1b856c2ae217d5a43442fa/FirebasePushIdGenerator.java
65
* @since 1.0.3
76
*/
87
public class UniqueIdGenerator {

src/main/java/com/javaquery/util/collection/Collections.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public static boolean nonNullNonEmpty(Map<?, ?> map) {
7272
*
7373
* @param source a List to be batched
7474
* @param batchSize size of batch you want
75+
* @param <T> the type of List to be returned.
7576
* @return Returns stream of batched List from original List by given batch size.
7677
* <p>
7778
* reference: http://stackoverflow.com/questions/12026885/common-util-to-break-a-list-into-batch
@@ -111,7 +112,7 @@ public static <T> Stream<List<T>> batches(List<T> source, int batchSize) {
111112
* @throws NullPointerException if either collection is null
112113
* @since 1.0.3
113114
*/
114-
public static <E> boolean isCollectionEqual(final Collection<E> collectionOne, final Collection<E> collectionTwo) {
115+
public static boolean isCollectionEqual(final Collection<?> collectionOne, final Collection<?> collectionTwo) {
115116
Assert.nonNull(collectionOne, NullPointerException::new);
116117
Assert.nonNull(collectionTwo, NullPointerException::new);
117118

0 commit comments

Comments
 (0)