Update SpringApplicationBuilder javadoc to reflect API changes
Closes gh-7609
This commit is contained in:
		
							parent
							
								
									4ec95b8308
								
							
						
					
					
						commit
						14a90aa52e
					
				| 
						 | 
				
			
			@ -46,12 +46,12 @@ import org.springframework.core.io.ResourceLoader;
 | 
			
		|||
 * new SpringApplicationBuilder(ParentConfig.class).child(ChildConfig.class).run(args);
 | 
			
		||||
 * </pre>
 | 
			
		||||
 *
 | 
			
		||||
 * Another common use case is setting default arguments, e.g. active Spring profiles, to
 | 
			
		||||
 * set up the environment for an application:
 | 
			
		||||
 * Another common use case is setting active profiles and default properties to set up the
 | 
			
		||||
 * environment for an application:
 | 
			
		||||
 *
 | 
			
		||||
 * <pre class="code">
 | 
			
		||||
 * new SpringApplicationBuilder(Application.class).profiles("server")
 | 
			
		||||
 * 		.defaultArgs("--transport=local").run(args);
 | 
			
		||||
 * 		.properties("transport=local").run(args);
 | 
			
		||||
 * </pre>
 | 
			
		||||
 *
 | 
			
		||||
 * <p>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue