We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c29e49 commit da3f2c6Copy full SHA for da3f2c6
google-http-client-protobuf/src/main/java/com/google/api/client/protobuf/ProtocolBuffers.java
@@ -37,15 +37,10 @@
37
public class ProtocolBuffers {
38
39
/** {@code "application/x-protobuf"} content type. */
40
- public static final String CONTENT_TYPE;
+ public static final String CONTENT_TYPE = "application/x-protobuf";
41
42
/** {@code "application/x-protobuffer"} content type. */
43
- public static final String ALT_CONTENT_TYPE;
44
-
45
- static {
46
- CONTENT_TYPE = "application/x-protobuf";
47
- ALT_CONTENT_TYPE = "application/x-protobuffer";
48
- }
+ public static final String ALT_CONTENT_TYPE = "application/x-protobuffer";
49
50
/**
51
* Parses protocol buffer content from an input stream (closing the input stream) into a protocol
0 commit comments