}
--- old/src/windows/classes/sun/print/Win32PrintService.java
2014-01-27 11:17:55.000000000 -0800
+++ new/src/windows/classes/sun/print/Win32PrintService.java
2014-01-27 11:17:55.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All
rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All
rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or
modify it
@@ -506,8 +506,7 @@
}
} else {
// if getting MPA failed, we use MediaSize
- MediaSize ms =
-
MediaSize.getMediaSizeForName((MediaSizeName)mediaName);
+ MediaSize ms =
MediaSize.getMediaSizeForName(mediaName);
if (ms != null) {
try {