Marked GetUsersInfos methods as deprecated

This commit is contained in:
Pierre 2018-01-13 17:22:52 +01:00
parent f5c8232b14
commit e837449f5c

View File

@ -73,6 +73,7 @@ public class GetUsersInfos {
* @param id The ID of the user to get the informations * @param id The ID of the user to get the informations
* @param callback What to do once we got the response * @param callback What to do once we got the response
*/ */
@Deprecated
public void get(int id, final getUserInfosCallback callback){ public void get(int id, final getUserInfosCallback callback){
//Check if the ID is positive, error else //Check if the ID is positive, error else
@ -100,6 +101,7 @@ public class GetUsersInfos {
* @param IDs The ID of the user to get * @param IDs The ID of the user to get
* @param callback The result once we got all the users * @param callback The result once we got all the users
*/ */
@Deprecated
public void getMultiple(final ArrayList<Integer> IDs, final getMultipleUserInfosCallback callback){ public void getMultiple(final ArrayList<Integer> IDs, final getMultipleUserInfosCallback callback){
new AsyncTask<Void, Void, ArrayMap<Integer, UserInfo>>(){ new AsyncTask<Void, Void, ArrayMap<Integer, UserInfo>>(){