MRUnit
  1. MRUnit
  2. MRUNIT-58

Javadoc for org.apache.hadoop.mrunit Package Ends Prematurely

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.1
    • Labels:
      None
    • Environment:
      Observed on Safari version 5.1.2 (7534.52.7) on Mac OS X Lion, but likely affects all systems. I believe it's a problem with input to Javadoc, rather than a client-side failure to render the output properly.

      Description

      While reading the Javadoc for the 0.8.0 release, I found that the code example at the following URL ends abruptly following the declaration of the 'driver' variable:

      http://incubator.apache.org/mrunit/apidocs/org/apache/hadoop/mrunit/package-summary.html

      It appears to me that the Javadoc processor is choking on the @Before annotation, at line 68 here:

      http://svn.apache.org/viewvc/incubator/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/package.html?revision=1102112&view=markup

      If so, I think the solution is to use Javadoc's

      {@literal}

      support, thus changing line 68 from @Before to

      {@literal @Before}

      . A similar fix would be needed for line 74's @Test annotation.

        Activity

        Tom Wheeler created issue -
        Brock Noland made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Brock Noland [ brocknoland ]
        Fix Version/s 0.8.1 [ 12319881 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Brock Noland
            Reporter:
            Tom Wheeler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development