fix for Java 8
This commit is contained in:
		
							parent
							
								
									9e1e979855
								
							
						
					
					
						commit
						abbf2093e5
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -139,7 +139,7 @@ public class ModelInputWizard<T> extends Dialog { | ||||||
|                         .filter(page -> page.isStart) |                         .filter(page -> page.isStart) | ||||||
|                         .findFirst(); |                         .findFirst(); | ||||||
| 
 | 
 | ||||||
|         if (newPage.isEmpty()) { |         if (!newPage.isPresent()) { | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -31,9 +31,10 @@ public class RestCallPageSupplier<T> implements PageSupplier<T> { | ||||||
|         return this.restCall.getEntityType(); |         return this.restCall.getEntityType(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     @SuppressWarnings({ "unchecked", "rawtypes" }) | ||||||
|     @Override |     @Override | ||||||
|     public Builder<T> newBuilder() { |     public Builder<T> newBuilder() { | ||||||
|         return new RestCallBuilderAdapter<>(this.restCall.newBuilder()); |         return new RestCallBuilderAdapter(this.restCall.newBuilder()); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     public static final class RestCallBuilderAdapter<T> implements Builder<T> { |     public static final class RestCallBuilderAdapter<T> implements Builder<T> { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti