src/main/java/com/mizo0203/lilywhite/repo/LineRepository.java
Method notify
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void notify(
@Nonnull String access_token,
@Nonnull String message,
@Nullable String imageThumbnail,
@Nullable String imageFullsize,
Method tokenOauth
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void tokenOauth(
String code,
String client_id,
String client_secret,
@Nonnull Callback<AccessToken> callback) {
Method status
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void status(@Nonnull String access_token, @Nonnull Callback<ResponseStatusData> callback) {
Map<String, String> reqProp = new HashMap<>();
reqProp.put("Authorization", "Bearer " + access_token);
try {
Method revoke
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void revoke(@Nonnull String access_token, @Nonnull Callback<ResponseRevokeData> callback) {
Map<String, String> reqProp = new HashMap<>();
reqProp.put("Content-Type", "application/x-www-form-urlencoded");
reqProp.put("Authorization", "Bearer " + access_token);
Method notify
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
@Nonnull String access_token,
@Nonnull String message,
@Nullable String imageThumbnail,
@Nullable String imageFullsize,
@Nullable String imageFile,