Skip to content
Permalink
Browse files

Fixes in javadoc description of Spockito.Ref

  • Loading branch information...
terzerm committed Jun 22, 2017
1 parent 041ced9 commit 03130ad75fbf363c88c2f7332710482651634e81
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/main/java/org/tools4j/spockito/Spockito.java
@@ -127,20 +127,20 @@
* <p>
* The following reference types are supported:
* <pre>
* {row} - the current row index (zero based), assignable to an integer type
* {*} - indicating that all rows are to be used, assignable to a collection type, a map or a Bean
* {ColumnA} - the value in the "ColumnA" column
* {ColumnB} - the value in the "ColumnB" column
* "row" - the current row index (zero based), assignable to an integer type
* "*" - indicating that all rows are to be used, assignable to a collection type, a map or a Bean
* "ColumnA" - the value in the "ColumnA" column
* "ColumnB" - the value in the "ColumnB" column
* </pre>
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.PARAMETER})
public @interface Ref {
/**
* Returns the column name, or {row} for row index and {*} to map all column values to the annotated variable.
* Returns the column name, or "row" for row index and "*" to map all column values to the annotated variable.
* Can be omitted when annotating fields and the field name is identical to the column name.
*
* @return the column name, or "{row}" for the row index, or "{*}" to indicate that all all column values should
* @return the column name, or "row" for the row index, or "*" to indicate that all all column values should
* be mapped to the annotated variable (for list, map and bean types)
*/
String value() default "";

0 comments on commit 03130ad

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.