mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-03 22:57:14 +08:00 
			
		
		
		
	style: 优化 == 及 != 表达式格式
1.将 null 或常量值调整到符号左侧 2.将无特殊意义的方法判空写法改为表达式判断写法
This commit is contained in:
		@@ -69,7 +69,7 @@ public class PageDataVO<V> implements Serializable {
 | 
			
		||||
     * @return 分页信息
 | 
			
		||||
     */
 | 
			
		||||
    public static <T, V> PageDataVO<V> build(IPage<T> page, Class<V> targetClass) {
 | 
			
		||||
        if (page == null) {
 | 
			
		||||
        if (null == page) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
        PageDataVO<V> pageDataVO = new PageDataVO<>();
 | 
			
		||||
@@ -88,7 +88,7 @@ public class PageDataVO<V> implements Serializable {
 | 
			
		||||
     * @return 分页信息
 | 
			
		||||
     */
 | 
			
		||||
    public static <V> PageDataVO<V> build(IPage<V> page) {
 | 
			
		||||
        if (page == null) {
 | 
			
		||||
        if (null == page) {
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
        PageDataVO<V> pageDataVO = new PageDataVO<>();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user