Updated to files to fit the Standard.

This commit is contained in:
Glenn Renfro
2022-07-25 11:41:43 -04:00
parent 39908bb499
commit 76a5d12136
200 changed files with 2839 additions and 4125 deletions

View File

@@ -16,7 +16,6 @@
package org.springframework.cloud.task.timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -37,7 +36,7 @@ import org.springframework.context.annotation.Bean;
*/
@EnableTask
@SpringBootApplication
@EnableConfigurationProperties({TimestampTaskProperties.class})
@EnableConfigurationProperties({ TimestampTaskProperties.class })
public class TaskApplication {
private static final Log logger = LogFactory.getLog(TaskApplication.class);
@@ -64,5 +63,7 @@ public class TaskApplication {
DateFormat dateFormat = new SimpleDateFormat(this.config.getFormat());
logger.info(dateFormat.format(new Date()));
}
}
}

View File

@@ -38,4 +38,5 @@ public class TimestampTaskProperties {
public void setFormat(String format) {
this.format = format;
}
}