MCPcopy Create free account
hub / github.com/antlr/codebuff / withoutParameters

Method withoutParameters

output/java_guava/1.4.19/MediaType.java:733–735  ·  view source on GitHub ↗

Returns a new instance with the same type and subtype as this instance, but without any parameters.

()

Source from the content-addressed store, hash-verified

731
732
733 public MediaType withoutParameters() {
734 return parameters.isEmpty() ? this : create(type, subtype);
735 }
736
737 /**
738 * <em>Replaces</em> all parameters with the given parameters.

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
isEmptyMethod · 0.65

Tested by

no test coverage detected