Resolve some lombok warnings

pull/180/head
johnniang 2019-06-04 18:07:06 +08:00
parent cb2e38fea9
commit 2a60e1cd20
5 changed files with 10 additions and 6 deletions

View File

@ -25,12 +25,6 @@ configurations {
exclude module: 'spring-boot-starter-tomcat'
}
annotationProcessor
compileOnly {
extendsFrom annotationProcessor
}
developmentOnly
runtimeClasspath {

View File

@ -1,6 +1,8 @@
package run.halo.app.model.dto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import run.halo.app.model.dto.base.OutputConverter;
import run.halo.app.model.entity.Menu;
@ -11,6 +13,8 @@ import run.halo.app.model.entity.Menu;
* @date 4/3/19
*/
@Data
@EqualsAndHashCode
@ToString
public class MenuDTO implements OutputConverter<MenuDTO, Menu> {
private Integer id;

View File

@ -1,6 +1,7 @@
package run.halo.app.model.entity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.*;

View File

@ -1,6 +1,7 @@
package run.halo.app.model.entity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.*;

View File

@ -1,6 +1,8 @@
package run.halo.app.model.vo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import run.halo.app.model.dto.MenuDTO;
import java.util.List;
@ -10,6 +12,8 @@ import java.util.List;
* @date : 2019-04-07
*/
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MenuVO extends MenuDTO {
private List<MenuVO> children;