From 3e6d8e5afbb533c307470be3cb4a38e782d31dd4 Mon Sep 17 00:00:00 2001 From: mdb Date: Tue, 1 May 2007 19:38:44 +0000 Subject: [PATCH] Require a name for Index annotations because managing indices without a name is a pain in the ass that we don't particularly need to spend time on. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2097 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/jdbc/depot/annotation/Index.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/samskivert/jdbc/depot/annotation/Index.java b/src/java/com/samskivert/jdbc/depot/annotation/Index.java index f8bab779..cc46a7ec 100644 --- a/src/java/com/samskivert/jdbc/depot/annotation/Index.java +++ b/src/java/com/samskivert/jdbc/depot/annotation/Index.java @@ -33,7 +33,7 @@ import java.lang.annotation.Target; public @interface Index { /** Defines the name of the index. */ - String name () default ""; + String name (); /** Configures the type of this index if necessary. MySQL supports FULLTEXT, SPATIAL and * UNIQUE. */