重命名注解

dev
ZhouXY108 2024-03-06 14:24:31 +08:00
parent 725283c829
commit fba176864c
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
/** /**
* *
* <p></p> * <p></p>
* *
* @author <a href="https://gitee.com/zhouxy108">ZhouXY</a> * @author <a href="https://gitee.com/zhouxy108">ZhouXY</a>
@ -30,5 +30,5 @@ import java.lang.annotation.Target;
*/ */
@Target(ElementType.METHOD) @Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE) @Retention(RetentionPolicy.SOURCE)
public @interface Overridable { public @interface Virtual {
} }

View File

@ -28,7 +28,7 @@ import org.apache.commons.lang3.StringUtils;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet;
import xyz.zhouxy.plusone.commons.annotation.Overridable; import xyz.zhouxy.plusone.commons.annotation.Virtual;
/** /**
* *
@ -105,7 +105,7 @@ public class PagingAndSortingQueryParams {
// Setters end // Setters end
@Overridable @Virtual
protected int getDefaultSize() { protected int getDefaultSize() {
return DEFAULT_PAGE_SIZE; return DEFAULT_PAGE_SIZE;
} }