fix compile Java 8
This commit is contained in:
		
							parent
							
								
									f61b142cc7
								
							
						
					
					
						commit
						33952a1795
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -34,8 +34,7 @@ public class RestCallPageSupplier<T> implements PageSupplier<T> { | ||||||
|     @Override |     @Override | ||||||
|     public Builder<T> newBuilder() { |     public Builder<T> newBuilder() { | ||||||
|         final RestCall<Page<T>>.RestCallBuilder restCallBuilder = this.restCall.newBuilder(); |         final RestCall<Page<T>>.RestCallBuilder restCallBuilder = this.restCall.newBuilder(); | ||||||
|         return new Builder<>() { |         final Builder<T> builer = new Builder<>() { | ||||||
| 
 |  | ||||||
|             @Override |             @Override | ||||||
|             public Builder<T> withPaging(final int pageNumber, final int pageSize) { |             public Builder<T> withPaging(final int pageNumber, final int pageSize) { | ||||||
|                 restCallBuilder.withPaging(pageNumber, pageSize); |                 restCallBuilder.withPaging(pageNumber, pageSize); | ||||||
|  | @ -75,8 +74,9 @@ public class RestCallPageSupplier<T> implements PageSupplier<T> { | ||||||
|             public Result<Page<T>> getPage() { |             public Result<Page<T>> getPage() { | ||||||
|                 return restCallBuilder.call(); |                 return restCallBuilder.call(); | ||||||
|             } |             } | ||||||
| 
 |  | ||||||
|         }; |         }; | ||||||
|  | 
 | ||||||
|  |         return builer; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti