Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: Jalander Ramagiri <[email protected]>
  • Loading branch information
Jalander Ramagiri committed Jul 4, 2024
1 parent 67d2b79 commit 0bb99f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sdk/src/main/java/dev/cdevents/CDEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ public static CDEvent cdEventFromJson(String cdEventJson) {

/**
* Creates a CloudEvent from the custom cdEvent.
* @param customCDEvent custom CDEvent class object
* @param <T> customCDEvent class
* @param customCDEvent custom CDEvent class object of type <T>
* @param validateContextSchema true If validation needed against context.schemaUri
* @return CloudEvent
*/
Expand All @@ -131,7 +132,8 @@ public static <T extends CDEvent> CloudEvent customCDEventAsCloudEvent(T customC
/**
* Creates customCDEvent from Json string and validates against context and official schemas.
* @param customCDEventJson Json string of customCDEvent class type <T>
* @param eventClass customCDEvent class type <T>
* @param <T> customCDEvent class
* @param eventClass custom CDEvent class of type <T>
* @param validateContextSchema true If validation needed against context.schemaUri
* @return CDEvent
*/
Expand Down

0 comments on commit 0bb99f2

Please sign in to comment.