Skip to content

Commit e010d48

Browse files
committed
polishing
1 parent 450a8c8 commit e010d48

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/main/java/org/audit4j/core/AnnotationTransformer.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
import org.audit4j.core.dto.Field;
3030

3131
/**
32-
* The Class AnnotationTransformer.
32+
* The Class AnnotationTransformer use to transform annotation information in to
33+
* simple audit event.
3334
*
3435
* @author <a href="mailto:[email protected]">Janith Bandara</a>
3536
*
@@ -39,22 +40,22 @@ public class AnnotationTransformer {
3940

4041
/** The audit attributes. */
4142
private final AuditAnnotationAttributes auditAttributes;
42-
43+
4344
/** The ignore attributes. */
4445
private final IgnoreAuditAnnotationAttributes ignoreAttributes;
45-
46+
4647
/** The field attributes. */
4748
private final AuditFieldAnnotationAttribute fieldAttributes;
48-
49+
4950
/**
5051
* Instantiates a new annotation transformer.
5152
*/
52-
public AnnotationTransformer(){
53+
public AnnotationTransformer() {
5354
auditAttributes = new AuditAnnotationAttributes();
5455
ignoreAttributes = new IgnoreAuditAnnotationAttributes();
5556
fieldAttributes = new AuditFieldAnnotationAttribute();
5657
}
57-
58+
5859
/**
5960
* Transform annotation informations to Audit Event object.
6061
*
@@ -102,7 +103,7 @@ public AuditEvent transformToEvent(AnnotationAuditEvent annotationEvent) {
102103
event.setActor(annotationEvent.getActor());
103104
event.setOrigin(annotationEvent.getOrigin());
104105
}
105-
106+
106107
return event;
107108
}
108109
}

0 commit comments

Comments
 (0)