Skip to content

Commit 607c356

Browse files
committed
Deprecate some unused fields from User
1 parent 91d5d8d commit 607c356

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ uploadArchives {
6060
}
6161
repositories {
6262
mavenDeployer {
63-
repository(url: "file://${project.mavendir}")
63+
repository(url: 'file://' + project.getProperty('mavendir'))
6464
}
6565
}
6666
}

src/main/java/com/creatubbles/api/core/User.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
package com.creatubbles.api.core;
22

3+
import com.creatubbles.api.request.auth.OAuthAccessTokenRequest;
4+
35
public class User {
46
public String id, age, birth_month, birth_year;
57
public String username, display_name, email, country, role;
68
public boolean is_teacher, is_loggable, is_site_admin, newsletter;
79
public int signed_up_as;
10+
11+
/**
12+
* @see OAuthAccessTokenRequest
13+
*/
14+
@Deprecated
815
public String access_token;
16+
17+
/**
18+
* @see OAuthAccessTokenRequest
19+
*/
20+
@Deprecated
921
public String password;
1022

1123
@Override

0 commit comments

Comments
 (0)