Skip to content

Commit

Permalink
Merge pull request #725 from scalecube/bring-back-default-constructor…
Browse files Browse the repository at this point in the history
…-in-svc-msg-codec

Add default constructor to ServiceMessageCodec
  • Loading branch information
artem-v authored Apr 30, 2020
2 parents ad9d79d + d59ebc4 commit 245aab2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ public final class ServiceMessageCodec {
private final HeadersCodec headersCodec;
private final Map<String, DataCodec> dataCodecs;

/** Message codec with default Headers/Data Codecs. */
public ServiceMessageCodec() {
this(null, null);
}

/**
* Create instance from headersCodec and set of DataCodec.
*
Expand Down

0 comments on commit 245aab2

Please sign in to comment.