harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r482523 - /harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/sampled/Mixer.java
Date Tue, 05 Dec 2006 06:40:58 GMT
Author: smishura
Date: Mon Dec  4 22:40:58 2006
New Revision: 482523

URL: http://svn.apache.org/viewvc?view=rev&rev=482523
Log:
Fix for Mixer.Info class: it's a public class and all its methods are final

Modified:
    harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/sampled/Mixer.java

Modified: harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/sampled/Mixer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/sampled/Mixer.java?view=diff&rev=482523&r1=482522&r2=482523
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/sampled/Mixer.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/sampled/Mixer.java
Mon Dec  4 22:40:58 2006
@@ -18,7 +18,8 @@
 package javax.sound.sampled;
 
 public interface Mixer extends Line {
-    static class Info{
+
+    public static class Info {
         private String name;
         private String vendor;
         private String description;
@@ -36,19 +37,19 @@
             return this == another;
         }
         
-        public String getDescription() {
+        public final String getDescription() {
             return description;
         }
         
-        public String getName() {
+        public final String getName() {
             return name;
         }
         
-        public String getVendor() {
+        public final String getVendor() {
             return vendor;
         }
         
-        public String getVersion() {
+        public final String getVersion() {
             return version;
         }
         
@@ -58,7 +59,7 @@
         }
         
         @Override
-        public String toString() {
+        public final String toString() {
             return name + ", version " + version; //$NON-NLS-1$
         }
     }



Mime
View raw message