Fix typos in code and documentation
See gh-31734
This commit is contained in:
committed by
Phillip Webb
parent
4bcec6e0ee
commit
dbfc6bded4
@@ -105,9 +105,8 @@ class ProjectGenerationRequest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the project archive should be extracted in the output location. If
|
||||
* the {@link #getOutput() output} ends with "/", the project is extracted
|
||||
* automatically.
|
||||
* Whether the project archive should be extracted in the output location. If the
|
||||
* {@link #getOutput() output} ends with "/", the project is extracted automatically.
|
||||
* @return {@code true} if the archive should be extracted, otherwise {@code false}
|
||||
*/
|
||||
boolean isExtract() {
|
||||
@@ -242,7 +241,7 @@ class ProjectGenerationRequest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the type should be detected based on the build and format value.
|
||||
* Whether the type should be detected based on the build and format value.
|
||||
* @return {@code true} if type detection will be performed, otherwise {@code false}
|
||||
*/
|
||||
boolean isDetectType() {
|
||||
|
||||
@@ -96,7 +96,7 @@ public class SpringApplicationRunner {
|
||||
stop();
|
||||
Class<?>[] compiledSources = compile();
|
||||
monitorForChanges();
|
||||
// Run in new thread to ensure that the context classloader is setup
|
||||
// Run in new thread to ensure that the context classloader is set up
|
||||
this.runThread = new RunThread(compiledSources);
|
||||
this.runThread.start();
|
||||
this.runThread.join();
|
||||
|
||||
@@ -143,7 +143,7 @@ public abstract class AstUtils {
|
||||
* optionally removing it from the block at the same time.
|
||||
* @param block a block statement (class definition)
|
||||
* @param name the name to look for
|
||||
* @param remove whether or not the extracted closure should be removed
|
||||
* @param remove whether the extracted closure should be removed
|
||||
* @return a beans Closure if one can be found, null otherwise
|
||||
*/
|
||||
public static ClosureExpression getClosure(BlockStatement block, String name, boolean remove) {
|
||||
|
||||
@@ -105,8 +105,8 @@ public class DependencyCustomizer {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a nested {@link DependencyCustomizer} that only applies if all of the
|
||||
* specified class names are not on the class path.
|
||||
* Create a nested {@link DependencyCustomizer} that only applies if all the specified
|
||||
* class names are not on the class path.
|
||||
* @param classNames the class names to test
|
||||
* @return a nested {@link DependencyCustomizer}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user