aboutsummaryrefslogtreecommitdiffstats
path: root/src/site
diff options
context:
space:
mode:
Diffstat (limited to 'src/site')
-rw-r--r--src/site/xdoc/cookbook.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/site/xdoc/cookbook.xml b/src/site/xdoc/cookbook.xml
index 7bb31a9..8752425 100644
--- a/src/site/xdoc/cookbook.xml
+++ b/src/site/xdoc/cookbook.xml
@@ -251,12 +251,12 @@
key and enable speedier lookups on the "Name" column.
</p>
<source>
- // new TableBuilder(...
+ // ... new TableBuilder( ...
.addIndex(new IndexBuilder(IndexBuilder.PRIMARY_KEY_NAME)
.addColumns("ID").setPrimaryKey())
.addIndex(new IndexBuilder("NameIndex")
.addColumns("Name"))
- // .toTable(...
+ // ... .toTable( ...
</source>
<p>
Don't forget to close the Database when you are finished building it