Skip to content

Commit

Permalink
restore static blocks in protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed Feb 6, 2025
1 parent 4c29e49 commit da3f2c6
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,10 @@
public class ProtocolBuffers {

/** {@code "application/x-protobuf"} content type. */
public static final String CONTENT_TYPE;
public static final String CONTENT_TYPE = "application/x-protobuf";

/** {@code "application/x-protobuffer"} content type. */
public static final String ALT_CONTENT_TYPE;

static {
CONTENT_TYPE = "application/x-protobuf";
ALT_CONTENT_TYPE = "application/x-protobuffer";
}
public static final String ALT_CONTENT_TYPE = "application/x-protobuffer";

/**
* Parses protocol buffer content from an input stream (closing the input stream) into a protocol
Expand Down

0 comments on commit da3f2c6

Please sign in to comment.