Browse Source

Merge pull request #4806 from izeye/polish-20151218

* pr/4806:
  Fix typos
pull/4806/merge
Stephane Nicoll 10 years ago
parent
commit
7caf39400c
  1. 2
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/opentsdb/OpenTsdbGaugeWriter.java
  2. 8
      spring-boot/src/main/java/org/springframework/boot/context/ConfigurationWarningsApplicationContextInitializer.java

2
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/opentsdb/OpenTsdbGaugeWriter.java

@ -80,7 +80,7 @@ public class OpenTsdbGaugeWriter implements GaugeWriter { @@ -80,7 +80,7 @@ public class OpenTsdbGaugeWriter implements GaugeWriter {
private OpenTsdbNamingStrategy namingStrategy = new DefaultOpenTsdbNamingStrategy();
/**
* Creates a new {@code OpenTsdbGauageWriter} with the default connect (10 seconds)
* Creates a new {@code OpenTsdbGaugeWriter} with the default connect (10 seconds)
* and read (30 seconds) timeouts.
*/
public OpenTsdbGaugeWriter() {

8
spring-boot/src/main/java/org/springframework/boot/context/ConfigurationWarningsApplicationContextInitializer.java

@ -133,10 +133,10 @@ public class ConfigurationWarningsApplicationContextInitializer @@ -133,10 +133,10 @@ public class ConfigurationWarningsApplicationContextInitializer
private static final Set<String> PROBLEM_PACKAGES;
static {
Set<String> pacakges = new HashSet<String>();
pacakges.add("org.springframework");
pacakges.add("org");
PROBLEM_PACKAGES = Collections.unmodifiableSet(pacakges);
Set<String> packages = new HashSet<String>();
packages.add("org.springframework");
packages.add("org");
PROBLEM_PACKAGES = Collections.unmodifiableSet(packages);
}
@Override

Loading…
Cancel
Save