6657625: RmfFileReader/StandardMidiFileWriter.types are public mutable statics (findbugs)
authoramenkov
Wed, 13 May 2009 13:52:52 +0400
changeset 3451 22d903fd3c5e
parent 3450 2f08a8bb9b83
child 3452 e18ac2718a06
6657625: RmfFileReader/StandardMidiFileWriter.types are public mutable statics (findbugs) Reviewed-by: hawtin
jdk/src/share/classes/com/sun/media/sound/StandardMidiFileWriter.java
--- a/jdk/src/share/classes/com/sun/media/sound/StandardMidiFileWriter.java	Tue May 12 16:32:34 2009 +0100
+++ b/jdk/src/share/classes/com/sun/media/sound/StandardMidiFileWriter.java	Wed May 13 13:52:52 2009 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2007 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1999-2009 Sun Microsystems, Inc.  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
@@ -82,7 +82,7 @@
     /**
      * MIDI parser types
      */
-    public static final int types[] = {
+    private static final int types[] = {
         MIDI_TYPE_0,
         MIDI_TYPE_1
     };