jdk/src/share/classes/javax/sound/midi/MidiFileFormat.java
changeset 22584 eed64ee05369
parent 19207 3448b0cb4077
child 25131 49006bd0e69d
equal deleted inserted replaced
22583:e7d5af0b11e9 22584:eed64ee05369
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   271         if (properties == null) {
   271         if (properties == null) {
   272             ret = new HashMap<String,Object>(0);
   272             ret = new HashMap<String,Object>(0);
   273         } else {
   273         } else {
   274             ret = (Map<String,Object>) (properties.clone());
   274             ret = (Map<String,Object>) (properties.clone());
   275         }
   275         }
   276         return (Map<String,Object>) Collections.unmodifiableMap(ret);
   276         return Collections.unmodifiableMap(ret);
   277     }
   277     }
   278 
   278 
   279 
   279 
   280     /**
   280     /**
   281      * Obtain the property value specified by the key.
   281      * Obtain the property value specified by the key.