--- old/src/java.desktop/share/classes/javax/sound/midi/MidiFileFormat.java 2017-07-05 16:02:22.000000000 -0700
+++ new/src/java.desktop/share/classes/javax/sound/midi/MidiFileFormat.java 2017-07-05 16:02:22.000000000 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -44,37 +44,31 @@
* implementations:
*
*
- MIDI File Format Properties
- *
- * Property key |
- * Value type |
- * Description |
- *
- *
- * "author" |
- * {@link java.lang.String String} |
- * name of the author of this file |
- *
- *
- * "title" |
- * {@link java.lang.String String} |
- * title of this file |
- *
- *
- * "copyright" |
- * {@link java.lang.String String} |
- * copyright message |
- *
- *
- * "date" |
- * {@link java.util.Date Date} |
- * date of the recording or release |
- *
- *
- * "comment" |
- * {@link java.lang.String String} |
- * an arbitrary text |
- *
+ * MIDI File Format Properties
+ *
+ * Property key
+ * | Value type
+ * | Description
+ * |
+ * "author"
+ * | {@link String String}
+ * | name of the author of this file
+ * |
+ * "title"
+ * | {@link String String}
+ * | title of this file
+ * |
+ * "copyright"
+ * | {@link String String}
+ * | copyright message
+ * |
+ * "date"
+ * | {@link java.util.Date Date}
+ * | date of the recording or release
+ * |
+ * "comment"
+ * | {@link String String}
+ * | an arbitrary text
* |
*
* @author Kara Kytle
@@ -135,10 +129,10 @@
* @param divisionType the timing division type (PPQ or one of the SMPTE
* types)
* @param resolution the timing resolution
- * @param bytes the length of the MIDI file in bytes, or UNKNOWN_LENGTH if
- * not known
+ * @param bytes the length of the MIDI file in bytes, or
+ * {@link #UNKNOWN_LENGTH} if not known
* @param microseconds the duration of the file in microseconds, or
- * UNKNOWN_LENGTH if not known
+ * {@link #UNKNOWN_LENGTH} if not known
* @see #UNKNOWN_LENGTH
* @see Sequence#PPQ
* @see Sequence#SMPTE_24
@@ -163,10 +157,10 @@
* @param divisionType the timing division type (PPQ or one of the SMPTE
* types)
* @param resolution the timing resolution
- * @param bytes the length of the MIDI file in bytes, or UNKNOWN_LENGTH if
- * not known
+ * @param bytes the length of the MIDI file in bytes, or
+ * {@code UNKNOWN_LENGTH} if not known
* @param microseconds the duration of the file in microseconds, or
- * UNKNOWN_LENGTH if not known
+ * {@code UNKNOWN_LENGTH} if not known
* @param properties a {@code Map} object with properties
* @see #UNKNOWN_LENGTH
* @see Sequence#PPQ
@@ -224,7 +218,8 @@
/**
* Obtains the length of the MIDI file, expressed in 8-bit bytes.
*
- * @return the number of bytes in the file, or UNKNOWN_LENGTH if not known
+ * @return the number of bytes in the file, or {@code UNKNOWN_LENGTH} if not
+ * known
* @see #UNKNOWN_LENGTH
*/
public int getByteLength() {
@@ -234,8 +229,8 @@
/**
* Obtains the length of the MIDI file, expressed in microseconds.
*
- * @return the file's duration in microseconds, or UNKNOWN_LENGTH if not
- * known
+ * @return the file's duration in microseconds, or {@code UNKNOWN_LENGTH} if
+ * not known
* @see Sequence#getMicrosecondLength()
* @see #getByteLength
* @see #UNKNOWN_LENGTH