Commit f4f54047 authored by Andy Wilkinson's avatar Andy Wilkinson

Clarify behaviour of SpringApplicationBuilder.sibling(Object...)

Closes gh-8898
parent 20a417f4
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -239,7 +239,10 @@ public class SpringApplicationBuilder {
/**
* Create a sibling application (one with the same parent). A side effect of calling
* this method is that the current application (and its parent) are started.
* this method is that the current application (and its parent) are started without
* any arguments if they are not already running. To supply arguments when starting
* the current application and its parent use {@link #sibling(Object[], String...)}
* instead.
* @param sources the sources for the application (Spring configuration)
* @return the new sibling builder
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment