From cb319bac31e05da76cc3d9552e7197f039fe7ae9 Mon Sep 17 00:00:00 2001 From: Erwin Vervaet Date: Wed, 27 Dec 2006 12:30:12 +0000 Subject: [PATCH] JavaDoc polishing. --- .../java/org/springframework/binding/format/Style.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spring-binding/src/main/java/org/springframework/binding/format/Style.java b/spring-binding/src/main/java/org/springframework/binding/format/Style.java index 30853b6c..3521eef0 100644 --- a/spring-binding/src/main/java/org/springframework/binding/format/Style.java +++ b/spring-binding/src/main/java/org/springframework/binding/format/Style.java @@ -15,6 +15,8 @@ */ package org.springframework.binding.format; +import java.text.DateFormat; + import org.springframework.core.enums.StaticLabeledEnum; /** @@ -27,22 +29,22 @@ public class Style extends StaticLabeledEnum { /** * See {@link java.text.DateFormat#FULL}. */ - public static final Style FULL = new Style(0, "Full"); + public static final Style FULL = new Style(DateFormat.FULL, "Full"); /** * See {@link java.text.DateFormat#LONG}. */ - public static final Style LONG = new Style(1, "Long"); + public static final Style LONG = new Style(DateFormat.LONG, "Long"); /** * See {@link java.text.DateFormat#MEDIUM}. */ - public static final Style MEDIUM = new Style(2, "Medium"); + public static final Style MEDIUM = new Style(DateFormat.MEDIUM, "Medium"); /** * See {@link java.text.DateFormat#SHORT}. */ - public static final Style SHORT = new Style(3, "Short"); + public static final Style SHORT = new Style(DateFormat.SHORT, "Short"); /** * Private constructor since this is a type-safe enum.