Polishing
This commit is contained in:
		
							parent
							
								
									f4c0ceb1cc
								
							
						
					
					
						commit
						a6af1def57
					
				|  | @ -464,7 +464,6 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto | |||
| 			} | ||||
| 			@SuppressWarnings("unchecked") | ||||
| 			@Override | ||||
| 			@SuppressWarnings("unchecked") | ||||
| 			public Stream<T> stream() { | ||||
| 				return Arrays.stream(getBeanNamesForTypedStream(requiredType, allowEagerInit)) | ||||
| 						.map(name -> (T) getBean(name)) | ||||
|  | @ -472,7 +471,6 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto | |||
| 			} | ||||
| 			@SuppressWarnings("unchecked") | ||||
| 			@Override | ||||
| 			@SuppressWarnings("unchecked") | ||||
| 			public Stream<T> orderedStream() { | ||||
| 				String[] beanNames = getBeanNamesForTypedStream(requiredType, allowEagerInit); | ||||
| 				if (beanNames.length == 0) { | ||||
|  | @ -1821,7 +1819,6 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto | |||
| 			public boolean isRequired() { | ||||
| 				return false; | ||||
| 			} | ||||
| 
 | ||||
| 			@Override | ||||
| 			public Object resolveCandidate(String beanName, Class<?> requiredType, BeanFactory beanFactory) { | ||||
| 				return (!ObjectUtils.isEmpty(args) ? beanFactory.getBean(beanName, args) : | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue