Skip to content

Commit cce321b

Browse files
authored
Merge pull request #74 from franck-benault/master
[FIX] CustomizableLayout template in yaml file dateFormat
2 parents 839389c + 8a3a6f7 commit cce321b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/main/java/org/audit4j/core/layout/CustomizableLayout.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ public class CustomizableLayout implements Layout {
5050
/** The date format. */
5151
private String dateFormat = CoreConstants.DEFAULT_DATE_FORMAT;
5252

53-
/** The template. */
53+
//this getter is useful for yml file configuration
54+
public String getDateFormat() {
55+
return dateFormat;
56+
}
57+
58+
59+
/** The template. */
5460
private String template = DEFAULT_TEMPLATE;
5561

5662
/**
@@ -114,7 +120,7 @@ public void setTemplate(String template) {
114120
}
115121

116122

117-
//this getter is usefull for file configuration
123+
//this getter is useful for yml file configuration
118124
public String getTemplate() {
119125
return template;
120126
}

0 commit comments

Comments
 (0)