jdk/src/java.desktop/share/classes/com/sun/media/sound/PortMixerProvider.java
changeset 34412 bed825be8cd8
parent 25859 3317bb8137f4
child 40444 afabcfc2f3ef
--- a/jdk/src/java.desktop/share/classes/com/sun/media/sound/PortMixerProvider.java	Fri Nov 20 17:54:58 2015 -0600
+++ b/jdk/src/java.desktop/share/classes/com/sun/media/sound/PortMixerProvider.java	Sun Nov 22 17:27:33 2015 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2015, 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
@@ -101,7 +101,6 @@
         }
     }
 
-
     public Mixer getMixer(Mixer.Info info) {
         synchronized (PortMixerProvider.class) {
             for (int i = 0; i < infos.length; i++) {
@@ -110,8 +109,8 @@
                 }
             }
         }
-        throw new IllegalArgumentException("Mixer " + info.toString()
-                                           + " not supported by this provider.");
+        throw new IllegalArgumentException(
+                String.format("Mixer %s not supported by this provider", info));
     }