package com.rocketchat.common.listener;

import java.util.List;

public interface PaginatedCallback<T> extends Callback {
    void onSuccess(List<T> list, long offset, long total);
}

@@ -152,25 +152,11 @@
 st, 
-long offset, long
+int
  tot

Update PaginatedCallback.java