Skip to content

Commit

Permalink
Merge pull request spring-projects#4087 from izeye/polish-20151003
Browse files Browse the repository at this point in the history
* pr/4087:
  Polish
  • Loading branch information
snicoll committed Oct 3, 2015
2 parents 4ffcd3a + a13b23e commit 2beae9a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ public ApplicationPidFileWriter(File file) {
/**
* Sets the type of application event that will trigger writing of the PID file.
* Defaults to {@link ApplicationPreparedEvent}. NOTE: If you use the
* {@link ApplicationPreparedEvent} to trigger the write, you will not be able to
* {@link org.springframework.boot.context.event.ApplicationStartedEvent}
* to trigger the write, you will not be able to
* specify the PID filename in the Spring {@link Environment}.
* @param triggerEventType the event trigger type
* @param triggerEventType the trigger event type
*/
public void setTriggerEventType(
Class<? extends SpringApplicationEvent> triggerEventType) {
Expand Down Expand Up @@ -189,7 +190,7 @@ static void reset() {
/**
* Provides access to a property value.
*/
private interface Property {
private static interface Property {

String getValue(SpringApplicationEvent event);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
/**
* Create a new {@link ApplicationEnvironmentPreparedEvent} instance.
* @param application the current application
* @param args the argumemts the application is running with
* @param args the arguments the application is running with
* @param environment the environment that was just created
*/
public ApplicationEnvironmentPreparedEvent(SpringApplication application,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ApplicationPreparedEvent extends SpringApplicationEvent {
/**
* Create a new {@link ApplicationPreparedEvent} instance.
* @param application the current application
* @param args the argumemts the application is running with
* @param args the arguments the application is running with
* @param context the ApplicationContext about to be refreshed
*/
public ApplicationPreparedEvent(SpringApplication application, String[] args,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ApplicationReadyEvent extends SpringApplicationEvent {
* Create a new {@link ApplicationReadyEvent} instance.
* @param application the current application
* @param args the arguments the application is running with
* @param context the context that was being created (maybe null)
* @param context the context that was being created
*/
public ApplicationReadyEvent(SpringApplication application, String[] args,
ConfigurableApplicationContext context) {
Expand Down

0 comments on commit 2beae9a

Please sign in to comment.