Fix typos

This commit is contained in:
Eddú Meléndez
2015-06-04 17:19:05 -05:00
committed by Stephane Nicoll
parent cc169c5009
commit baca62a6c0
13 changed files with 15 additions and 15 deletions

View File

@@ -40,9 +40,9 @@ class LocalDebugPortAvailableCondition extends SpringBootCondition {
port = RemoteDevToolsProperties.Debug.DEFAULT_LOCAL_PORT;
}
if (isPortAvailable(port)) {
return ConditionOutcome.match("Local debug port availble");
return ConditionOutcome.match("Local debug port available");
}
return ConditionOutcome.noMatch("Local debug port unavailble");
return ConditionOutcome.noMatch("Local debug port unavailable");
}
private boolean isPortAvailable(int port) {

View File

@@ -25,7 +25,7 @@ import java.lang.annotation.Target;
import org.springframework.context.annotation.Scope;
/**
* Restart {@code @Scope} Annotation used to indicate that a bean shoul remain beteen
* Restart {@code @Scope} Annotation used to indicate that a bean should remain between
* restarts.
*
* @author Phillip Webb

View File

@@ -545,7 +545,7 @@ public class Restarter {
}
/**
* {@link ThreadFactory} that creates a leak safe thead.
* {@link ThreadFactory} that creates a leak safe thread.
*/
private class LeakSafeThreadFactory implements ThreadFactory {

View File

@@ -47,7 +47,7 @@ public class LocalDebugPortAvailableConditionTests {
public void portAvailable() throws Exception {
ConditionOutcome outcome = getOutcome();
assertThat(outcome.isMatch(), equalTo(true));
assertThat(outcome.getMessage(), equalTo("Local debug port availble"));
assertThat(outcome.getMessage(), equalTo("Local debug port available"));
}
@Test
@@ -57,7 +57,7 @@ public class LocalDebugPortAvailableConditionTests {
ConditionOutcome outcome = getOutcome();
serverSocket.close();
assertThat(outcome.isMatch(), equalTo(false));
assertThat(outcome.getMessage(), equalTo("Local debug port unavailble"));
assertThat(outcome.getMessage(), equalTo("Local debug port unavailable"));
}
private ConditionOutcome getOutcome() {