Удалил ненужные классы

This commit is contained in:
upagge 2020-10-11 08:16:09 +03:00
parent 7975a28955
commit 54492e551b
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34
5 changed files with 1 additions and 58 deletions

View File

@ -1,23 +0,0 @@
package org.sadtech.bot.vcs.bitbucket.app.utils;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.sadtech.bot.vcs.bitbucket.sdk.domain.CommentState;
import org.sadtech.bot.vcs.core.domain.TaskStatus;
import org.sadtech.bot.vcs.core.exception.NotFoundException;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class Converter {
public static TaskStatus taskStatus(CommentState commentState) {
switch (commentState) {
case OPEN:
return TaskStatus.OPEN;
case RESOLVED:
return TaskStatus.RESOLVED;
default:
throw new NotFoundException("Неизвестный статус задачи");
}
}
}

View File

@ -1,12 +0,0 @@
package org.sadtech.bot.vcs.core.domain;
/**
* TODO: Добавить комментарий енума.
*
* @author upagge [31.01.2020]
*/
public enum AuthType {
TOKEN, LOGIN, TELEGRAM_ID, PASSWORD
}

View File

@ -1,13 +0,0 @@
package org.sadtech.bot.vcs.core.domain;
/**
* TODO: Добавить описание класса.
*
* @author upagge [02.02.2020]
*/
public class UserAuth {
private String login;
private String password;
}

View File

@ -1,9 +0,0 @@
package org.sadtech.bot.vcs.core.exception;
public class CreateException extends BitbucketBotException {
public CreateException(String message) {
super(message);
}
}

View File

@ -40,7 +40,7 @@ public enum Smile {
BUILD("♻️"); BUILD("♻️");
@Getter @Getter
private String value; private final String value;
public static Smile statusPr(LocalDateTime updateDate) { public static Smile statusPr(LocalDateTime updateDate) {
int periodDay = Period.between(updateDate.toLocalDate(), LocalDate.now()).getDays(); int periodDay = Period.between(updateDate.toLocalDate(), LocalDate.now()).getDays();