Skip to content

Commit

Permalink
Add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinqian00 committed Dec 11, 2024
1 parent 8e8b497 commit 98f75cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import jakarta.activation.MimeType;
import jakarta.activation.MimeTypeParseException;

/**
* Custom serializer for the Jakart Activation MIME types.
*/
public class MimeTypeDeserializer extends StdDeserializer<MimeType> {

public MimeTypeDeserializer() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import com.yetanalytics.xapi.util.Mapper;

/**
* Custom serializer for Semver4j Semver class.
*/
public class SemverSerializer extends StdSerializer<Semver> {
public SemverSerializer() {
this(null);
Expand Down

0 comments on commit 98f75cc

Please sign in to comment.