Skip to content

Commit

Permalink
BVAL-508 JavaDoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling committed Jan 5, 2017
1 parent 7fda2bf commit 63c31e1
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -20,16 +20,14 @@
* <p>
* The extracted values are passed to the corresponding method of the {@link ValueReceiver}.
* <p>
* A typical value extractor implementation for {@link List} may look like:
* A typical value extractor implementation for {@link List} may look like this:
* <pre>
* public class ListValueExtractor implements ValueExtractor&lt;List&lt;&#064;ExtractedValue ?&gt;&gt; {
*
* &#064;Override
* public void extractValues(List&lt;?&gt; originalValue, ValueReceiver receiver) {
* int i = 0;
* for ( Object object : originalValue ) {
* receiver.indexedValue( "&lt;collection element&gt;", i, object );
* i++;
* for ( int i = 0; i < originalValue.size(); i++ ) {
* receiver.indexedValue( "&lt;iterable element&gt;", i, originalValue.get( i ) );
* }
* }
* }
Expand Down

0 comments on commit 63c31e1

Please sign in to comment.