commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1695783 - in /commons/proper/bcel/trunk/src: changes/changes.xml main/java/org/apache/commons/bcel6/classfile/LineNumber.java main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java
Date Thu, 13 Aug 2015 21:25:53 GMT
Author: sebb
Date: Thu Aug 13 21:25:53 2015
New Revision: 1695783

URL: http://svn.apache.org/r1695783
Log:
BCEL-205 add javadoc comments to LineNumber.java and LineNumberTable.java

Modified:
    commons/proper/bcel/trunk/src/changes/changes.xml
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumber.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java

Modified: commons/proper/bcel/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/changes/changes.xml?rev=1695783&r1=1695782&r2=1695783&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/changes/changes.xml (original)
+++ commons/proper/bcel/trunk/src/changes/changes.xml Thu Aug 13 21:25:53 2015
@@ -63,6 +63,7 @@ The <action> type attribute can be add,u
 
   <body>
     <release version="6.0" date="TBA" description="Major release with Java 7 and 8 support">
+      <action issue="BCEL-205" type="update">add javadoc comments to LineNumber.java
and LineNumberTable.java</action>
       <action issue="BCEL-208" type="fix">Need to check for an empty InstructionList</action>
       <action issue="BCEL-212" type="update">Inconsistent toString() results</action>
       <action issue="BCEL-217" type="fix">long type instructions are not searched by
InstructionFinder using regular expression</action>

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumber.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumber.java?rev=1695783&r1=1695782&r2=1695783&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumber.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumber.java
Thu Aug 13 21:25:53 2015
@@ -54,6 +54,7 @@ public final class LineNumber implements
      * Construct object from file stream.
      * 
      * @param file Input stream
+     * @throws IOEXception if an I/O Exception occurs in readUnsignedShort
      */
     LineNumber(DataInput file) throws IOException {
         this(file.readUnsignedShort(), file.readUnsignedShort());
@@ -86,6 +87,7 @@ public final class LineNumber implements
      * Dump line number/pc pair to file stream in binary format.
      *
      * @param file Output file stream
+     * @throws IOEXception if an I/O Exception occurs in writeShort
      */
     public final void dump( DataOutputStream file ) throws IOException {
         file.writeShort(start_pc);

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java?rev=1695783&r1=1695782&r2=1695783&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java
Thu Aug 13 21:25:53 2015
@@ -67,7 +67,7 @@ public final class LineNumberTable exten
      * @param length Content length in bytes
      * @param input Input stream
      * @param constant_pool Array of constants
-     * @throws IOException
+     * @throws IOEXception if an I/O Exception occurs in readUnsignedShort
      */
     LineNumberTable(int name_index, int length, DataInput input, ConstantPool constant_pool)
             throws IOException {
@@ -97,6 +97,7 @@ public final class LineNumberTable exten
      * Dump line number table attribute to file stream in binary format.
      *
      * @param file Output file stream
+     * @throws IOEXception if an I/O Exception occurs in writeShort
      */
     @Override
     public final void dump( DataOutputStream file ) throws IOException {



Mime
View raw message