src/share/classes/javax/print/DocFlavor.java
Print this page
@@ -543,12 +543,11 @@
* @return String representing a mime parameter, or
* null if that parameter is not in the mime type string.
* @exception NullPointerException if paramName is null.
*/
public String getParameter(String paramName) {
- return
- (String)myMimeType.getParameterMap().get(paramName.toLowerCase());
+ return myMimeType.getParameterMap().get(paramName.toLowerCase());
}
/**
* Returns the name of this doc flavor object's representation class.
* @return the name of the representation class.