myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r694548 [1/2] - in /myfaces/extensions/validator/branches/jsf_1.1: alternative/src/main/java/org/apache/myfaces/extensions/validator/core/ alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/ alternative/src/main/...
Date Thu, 11 Sep 2008 23:55:11 GMT
Author: gpetracek
Date: Thu Sep 11 16:55:09 2008
New Revision: 694548

URL: http://svn.apache.org/viewvc?rev=694548&view=rev
Log:
internal meta-data

Added:
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/Priority.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/ToDo.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageCategory.java
      - copied, changed from r694495, myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageEnum.java
Removed:
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageEnum.java
Modified:
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeInformationProviderBean.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeWebXmlParameter.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/DefaultConverterAdapterFactory.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/ExtValFallbackConverter.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConfiguredConverterToAdapterNameMapper.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConventionConverterToAdapterNameMapper.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/DefaultConverterToAdapterNameMapper.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/SimpleConverterToAdapterNameMapper.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplication.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplicationFactory.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValConverter.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ProxyMappingPhaseListener.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/AdapterFactoryUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/ProxyUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/ExtValInformation.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRenderKit.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValValidationPhaseListener.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ProcessedInformationEntry.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/AnnotationEntry.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractor.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractorFactory.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultAnnotationExtractorFactory.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultComponentAnnotationExtractor.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/mapper/NameMapper.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultMessageResolverFactory.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/DefaultValidationStrategyFactory.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ValidationStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageInformation.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ELUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ExtValUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FaceletsTaglibExpressionUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/WebXmlUtils.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/WebXmlParameter.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/annotation/extractor/DefaultPropertyScanningAnnotationExtractor.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIs.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIsType.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/RequiredIf.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/AliasCompareStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/ELCompareStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/LocalCompareStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/ReferencingStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/strategy/AbstractCompareStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/strategy/CrossValidationStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/strategy/DateIsStrategy.java
    myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/strategy/TargetAliasStrategy.java

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeInformationProviderBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeInformationProviderBean.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeInformationProviderBean.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeInformationProviderBean.java Thu Sep 11 16:55:09 2008
@@ -19,13 +19,16 @@
 package org.apache.myfaces.extensions.validator.core;
 
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 import org.apache.myfaces.extensions.validator.ExtValInformation;
 
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@ToDo(Priority.LOW, description = "exceedable see usage of InformationProviderBean")
+@UsageInformation(UsageCategory.FALLBACK)
 public class AlternativeInformationProviderBean
 {
     private String basePackage = WebXmlParameter.CUSTOM_EXTENSION_BASE_PACKAGE;
@@ -43,14 +46,12 @@
         }
     }
 
-    //TODO move to alternative module
     public String getCustomAdapterNameMapper()
     {
         return this.basePackage + "AdapterNameMapper";
     }
 
-    //TODO move to alternative module
-    @UsageInformation(UsageEnum.FALLBACK)
+    @UsageInformation(UsageCategory.FALLBACK)
     public String getCustomConverterAdapterFactory()
     {
         return this.basePackage + "ConverterAdapterFactory";

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeWebXmlParameter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeWebXmlParameter.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeWebXmlParameter.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/AlternativeWebXmlParameter.java Thu Sep 11 16:55:09 2008
@@ -18,7 +18,7 @@
  */
 package org.apache.myfaces.extensions.validator.core;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 import org.apache.myfaces.extensions.validator.util.WebXmlUtils;
 
@@ -40,13 +40,13 @@
     /*
      * fallback lib - if the usage of cglib is a problem
      */
-    @UsageInformation(UsageEnum.FALLBACK)
+    @UsageInformation(UsageCategory.FALLBACK)
     static final String CUSTOM_CONVERTER_TO_ADAPTER_NAME_MAPPER = WebXmlUtils
         .getInitParameter("CUSTOM_CONVERTER_TO_ADAPTER_NAME_MAPPER");
-    @UsageInformation(UsageEnum.FALLBACK)
+    @UsageInformation(UsageCategory.FALLBACK)
     static final String CUSTOM_CONVERTER_ADAPTER_FACTORY = WebXmlUtils
         .getInitParameter("CUSTOM_CONVERTER_ADAPTER_FACTORY");
-    @UsageInformation(UsageEnum.FALLBACK)
+    @UsageInformation(UsageCategory.FALLBACK)
     static final String USE_ADAPTERS = WebXmlUtils
         .getInitParameter("USE_ADAPTERS");
 }

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/DefaultConverterAdapterFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/DefaultConverterAdapterFactory.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/DefaultConverterAdapterFactory.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/DefaultConverterAdapterFactory.java Thu Sep 11 16:55:09 2008
@@ -26,8 +26,10 @@
 import org.apache.myfaces.extensions.validator.core.adapter.mapper.DefaultConverterToAdapterNameMapper;
 import org.apache.myfaces.extensions.validator.core.adapter.mapper.SimpleConverterToAdapterNameMapper;
 import org.apache.myfaces.extensions.validator.core.mapper.NameMapper;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 import org.apache.myfaces.extensions.validator.util.ClassUtils;
 
 import javax.faces.convert.Converter;
@@ -41,7 +43,7 @@
  *
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@UsageInformation(UsageCategory.FALLBACK)
 public class DefaultConverterAdapterFactory implements
     ClassMappingFactory<Converter, Converter>
 {
@@ -99,12 +101,12 @@
         return converter;
     }
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     private void addMapping(String sourceConverter, String adapter)
     {
         synchronized (DefaultConverterAdapterFactory.class)
         {
             converterAdapterMapping.put(sourceConverter, adapter);
         }
-        //TODO logging
     }
 }

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/ExtValFallbackConverter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/ExtValFallbackConverter.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/ExtValFallbackConverter.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/ExtValFallbackConverter.java Thu Sep 11 16:55:09 2008
@@ -19,8 +19,10 @@
 package org.apache.myfaces.extensions.validator.core.adapter;
 
 import org.apache.myfaces.extensions.validator.core.proxy.ExtValConverter;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 import org.apache.myfaces.extensions.validator.util.ProxyUtils;
 
 import javax.faces.component.UIComponent;
@@ -32,7 +34,7 @@
  *
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@UsageInformation(UsageCategory.FALLBACK)
 public class ExtValFallbackConverter extends ExtValConverter
 {
     private Converter wrapped;
@@ -67,13 +69,13 @@
     }
 
     @Override
+    @ToDo(Priority.LOW, description = "logging")
     protected Object getConvertedObject(FacesContext facesContext,
                                         UIComponent uiComponent, String s)
     {
         if (this.wrapped == null)
         {
             //indirect approach for complex components
-            //TODO
             Converter converter = ProxyUtils.tryToCreateOriginalConverter(
                 facesContext, uiComponent);
 

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConfiguredConverterToAdapterNameMapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConfiguredConverterToAdapterNameMapper.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConfiguredConverterToAdapterNameMapper.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConfiguredConverterToAdapterNameMapper.java Thu Sep 11 16:55:09 2008
@@ -20,7 +20,7 @@
 
 import org.apache.myfaces.extensions.validator.core.AlternativeWebXmlParameter;
 import org.apache.myfaces.extensions.validator.core.mapper.AbstractCustomNameMapper;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.convert.Converter;
@@ -28,7 +28,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@UsageInformation(UsageCategory.FALLBACK)
 public class CustomConfiguredConverterToAdapterNameMapper extends
     AbstractCustomNameMapper<Converter>
 {

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConventionConverterToAdapterNameMapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConventionConverterToAdapterNameMapper.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConventionConverterToAdapterNameMapper.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/CustomConventionConverterToAdapterNameMapper.java Thu Sep 11 16:55:09 2008
@@ -20,22 +20,24 @@
 
 import org.apache.myfaces.extensions.validator.core.mapper.AbstractCustomNameMapper;
 import org.apache.myfaces.extensions.validator.core.AlternativeInformationProviderBean;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.convert.Converter;
 
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@UsageInformation(UsageCategory.FALLBACK)
 public class CustomConventionConverterToAdapterNameMapper extends
     AbstractCustomNameMapper<Converter>
 {
 
+    @ToDo(Priority.LOW, description = "make it overrideable see InformationProviderBean")
     protected String getCustomNameMapperClassName()
     {
-        //TODO make it overrideable see InformationProviderBean
         //return ExtValUtils.getInformationProviderBean()
         //    .getCustomAdapterNameMapper();
         return new AlternativeInformationProviderBean()

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/DefaultConverterToAdapterNameMapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/DefaultConverterToAdapterNameMapper.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/DefaultConverterToAdapterNameMapper.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/DefaultConverterToAdapterNameMapper.java Thu Sep 11 16:55:09 2008
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.validator.core.adapter.mapper;
 
 import org.apache.myfaces.extensions.validator.core.mapper.NameMapper;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.convert.Converter;
@@ -27,7 +27,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@UsageInformation(UsageCategory.FALLBACK)
 public class DefaultConverterToAdapterNameMapper implements
     NameMapper<Converter>
 {

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/SimpleConverterToAdapterNameMapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/SimpleConverterToAdapterNameMapper.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/SimpleConverterToAdapterNameMapper.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/adapter/mapper/SimpleConverterToAdapterNameMapper.java Thu Sep 11 16:55:09 2008
@@ -20,7 +20,7 @@
 
 import org.apache.myfaces.extensions.validator.ExtValInformation;
 import org.apache.myfaces.extensions.validator.core.mapper.NameMapper;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.convert.Converter;
@@ -28,7 +28,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.FALLBACK)
+@UsageInformation(UsageCategory.FALLBACK)
 public class SimpleConverterToAdapterNameMapper implements
     NameMapper<Converter>
 {

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplication.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplication.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplication.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplication.java Thu Sep 11 16:55:09 2008
@@ -20,7 +20,7 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 import org.apache.myfaces.extensions.validator.util.AdapterFactoryUtils;
 import org.apache.myfaces.extensions.validator.util.ProxyUtils;
@@ -48,7 +48,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation({UsageEnum.ALTERNATIVE, UsageEnum.INTERNAL})
+@UsageInformation({UsageCategory.ALTERNATIVE, UsageCategory.INTERNAL})
 public class ExtValApplication extends Application
 {
     protected final Log logger = LogFactory.getLog(getClass());

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplicationFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplicationFactory.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplicationFactory.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValApplicationFactory.java Thu Sep 11 16:55:09 2008
@@ -20,7 +20,7 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.application.Application;
@@ -29,7 +29,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation({UsageEnum.ALTERNATIVE, UsageEnum.INTERNAL})
+@UsageInformation({UsageCategory.ALTERNATIVE, UsageCategory.INTERNAL})
 public class ExtValApplicationFactory extends ApplicationFactory
 {
     protected final Log logger = LogFactory.getLog(getClass());

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValConverter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValConverter.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValConverter.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ExtValConverter.java Thu Sep 11 16:55:09 2008
@@ -23,7 +23,7 @@
 import net.sf.cglib.proxy.MethodProxy;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 import org.apache.myfaces.extensions.validator.util.ExtValUtils;
 import org.apache.myfaces.extensions.validator.util.ProxyUtils;
@@ -38,7 +38,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation({UsageEnum.ALTERNATIVE, UsageEnum.INTERNAL})
+@UsageInformation({UsageCategory.ALTERNATIVE, UsageCategory.INTERNAL})
 public class ExtValConverter implements Converter, MethodInterceptor,
     Serializable
 {
@@ -131,7 +131,6 @@
                                         UIComponent uiComponent, String s)
     {
         //indirect approach for complex components
-        //TODO
         Converter converter = ProxyUtils.tryToCreateOriginalConverter(
             facesContext, uiComponent);
         return (converter != null) ? converter.getAsObject(facesContext,

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ProxyMappingPhaseListener.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ProxyMappingPhaseListener.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ProxyMappingPhaseListener.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/core/proxy/ProxyMappingPhaseListener.java Thu Sep 11 16:55:09 2008
@@ -21,7 +21,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.myfaces.extensions.validator.core.AlternativeWebXmlParameter;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 import org.apache.myfaces.extensions.validator.util.ExtValUtils;
 import org.apache.myfaces.extensions.validator.util.ProxyUtils;
@@ -45,7 +45,7 @@
  *
  * @author Gerhard Petracek
  */
-@UsageInformation({UsageEnum.ALTERNATIVE, UsageEnum.INTERNAL})
+@UsageInformation({UsageCategory.ALTERNATIVE, UsageCategory.INTERNAL})
 public class ProxyMappingPhaseListener implements PhaseListener
 {
     private boolean isInitialized = false;
@@ -115,7 +115,7 @@
     private void storeComponentConverterMappingForProxies(
         FacesContext facesContext, UIComponent uiComponent)
     {
-        //TODO use the following after the impl. of a better multi-window-mode solution
+        //use the following after the impl. of a better multi-window-mode solution
         //if(!uiComponent.isRendered()) {
         //    return;
         //}

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/AdapterFactoryUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/AdapterFactoryUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/AdapterFactoryUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/AdapterFactoryUtils.java Thu Sep 11 16:55:09 2008
@@ -23,7 +23,9 @@
 import org.apache.myfaces.extensions.validator.core.AlternativeInformationProviderBean;
 import org.apache.myfaces.extensions.validator.core.adapter.DefaultConverterAdapterFactory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.convert.Converter;
 import java.util.ArrayList;
@@ -36,7 +38,8 @@
 {
     private static ClassMappingFactory<Converter, Converter> converterAdapterFactory;
 
-    @UsageInformation(UsageEnum.FALLBACK)
+    @UsageInformation(UsageCategory.FALLBACK)
+    @ToDo(Priority.MEDIUM, description = "logging")
     public static ClassMappingFactory<Converter, Converter> getConverterAdapterFactory()
     {
         if (converterAdapterFactory == null)
@@ -63,7 +66,6 @@
 
                 if (converterAdapterFactory != null)
                 {
-                    //TODO logging
                     break;
                 }
             }

Modified: myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/ProxyUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/ProxyUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/ProxyUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/alternative/src/main/java/org/apache/myfaces/extensions/validator/util/ProxyUtils.java Thu Sep 11 16:55:09 2008
@@ -22,7 +22,9 @@
 import org.apache.commons.logging.LogFactory;
 import org.apache.myfaces.extensions.validator.core.AlternativeWebXmlParameter;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.application.Application;
 import javax.faces.component.UIComponent;
@@ -47,8 +49,8 @@
 
     /*
      * workaround: mapping clientId -> proxy -> after restore view: find component + set converter of the mapping
-     * TODO: find a better solution - multi-window-mode
      */
+    @ToDo(Priority.LOW, description = "find a better solution - multi-window-mode")
     public static final String PROXY_MAPPING_KEY = ExtValUtils.VALUE_BINDING_CONVERTED_VALUE_MAPPING_KEY
         + ":proxyMapping";
 
@@ -212,7 +214,6 @@
         }
     }
 
-    //TODO
     private static UIComponent resolveComponentInComplexComponent(
         UIComponent viewRoot, UIComponent component, String key)
     {
@@ -248,7 +249,6 @@
         return null;
     }
 
-    //TODO
     private static UIComponent tryToResolveChildComponent(
         UIComponent component, String endOfKey)
     {
@@ -320,7 +320,7 @@
         return getOriginalApplication().createConverter(valueBindingType);
     }
 
-    @UsageInformation(UsageEnum.FALLBACK)
+    @UsageInformation(UsageCategory.FALLBACK)
     public static boolean useFallbackAdapters()
     {
         String initParam = AlternativeWebXmlParameter.USE_ADAPTERS;

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/ExtValInformation.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/ExtValInformation.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/ExtValInformation.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/ExtValInformation.java Thu Sep 11 16:55:09 2008
@@ -19,14 +19,14 @@
 package org.apache.myfaces.extensions.validator;
 
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 
 /**
  * dont't move to an other package!!!
  *
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.INTERNAL)
+@UsageInformation(UsageCategory.INTERNAL)
 public interface ExtValInformation
 {
     static final String EXTENSIONS_VALIDATOR_BASE_PACKAGE_NAME = ExtValInformation.class

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRenderKit.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRenderKit.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRenderKit.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRenderKit.java Thu Sep 11 16:55:09 2008
@@ -18,8 +18,10 @@
  */
 package org.apache.myfaces.extensions.validator.core;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 import org.apache.myfaces.extensions.validator.util.ClassUtils;
 
 import javax.faces.context.ResponseStream;
@@ -33,7 +35,8 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.INTERNAL)
+@ToDo(Priority.HIGH, description = "constructor: impl. a hook to support similar mechanisms of other component libs")
+@UsageInformation(UsageCategory.INTERNAL)
 public class ExtValRenderKit extends RenderKit
 {
     private RenderKit wrapped;
@@ -42,7 +45,6 @@
 
     public ExtValRenderKit(RenderKit wrapped)
     {
-        //TODO impl. a hook to support similar mechanisms of other component libs
         ClassUtils.tryToInstantiateClassForName(
             "org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderingContext");
         this.wrapped = wrapped;

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java Thu Sep 11 16:55:09 2008
@@ -18,7 +18,7 @@
  */
 package org.apache.myfaces.extensions.validator.core;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 import org.apache.myfaces.extensions.validator.util.ValidationUtils;
 import org.apache.myfaces.extensions.validator.util.ClassUtils;
@@ -43,7 +43,7 @@
  *
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.INTERNAL)
+@UsageInformation(UsageCategory.INTERNAL)
 public class ExtValRendererWrapper extends Renderer
 {
     private static Boolean isAlternativeAvailable = null;

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValValidationPhaseListener.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValValidationPhaseListener.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValValidationPhaseListener.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValValidationPhaseListener.java Thu Sep 11 16:55:09 2008
@@ -18,7 +18,7 @@
  */
 package org.apache.myfaces.extensions.validator.core;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.FactoryFinder;
@@ -32,7 +32,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.INTERNAL)
+@UsageInformation(UsageCategory.INTERNAL)
 public class ExtValValidationPhaseListener implements PhaseListener
 {
     public void afterPhase(PhaseEvent event)

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java Thu Sep 11 16:55:09 2008
@@ -19,6 +19,8 @@
 package org.apache.myfaces.extensions.validator.core;
 
 import org.apache.myfaces.extensions.validator.ExtValInformation;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 import org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy;
 
 import java.lang.annotation.Annotation;
@@ -109,7 +111,6 @@
         return this.basePackage + "ValidationStrategyFactory";
     }
 
-    //TODO
     /*
      * conventions (the rest of the conventions are built with the help of name mappers,...
      */
@@ -131,7 +132,6 @@
     /*
      * final methods
      */
-    //TODO
     public final String getConventionForModuleMessageBundle(String packageName)
     {
         String newPackageName;
@@ -169,6 +169,7 @@
     /**
      * use a custom name mapper to implement custom conventions
      */
+    @ToDo(Priority.MEDIUM, description = "logging")
     public final String getConventionNameForMessageResolverPackage(
         Class<? extends ValidationStrategy> validationStrategyClass,
         String targetClassName)
@@ -179,7 +180,6 @@
 
         if (targetClassName == null)
         {
-            //TODO
             return null;
         }
         return resolverName.substring(0, resolverName.lastIndexOf(".")) + "."

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ProcessedInformationEntry.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ProcessedInformationEntry.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ProcessedInformationEntry.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/ProcessedInformationEntry.java Thu Sep 11 16:55:09 2008
@@ -18,7 +18,7 @@
  */
 package org.apache.myfaces.extensions.validator.core;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.component.UIComponent;
@@ -27,7 +27,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.INTERNAL)
+@UsageInformation(UsageCategory.INTERNAL)
 public class ProcessedInformationEntry
 {
     private Object bean;

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java Thu Sep 11 16:55:09 2008
@@ -18,8 +18,10 @@
  */
 package org.apache.myfaces.extensions.validator.core;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 import org.apache.myfaces.extensions.validator.util.WebXmlUtils;
 
 /**
@@ -27,7 +29,7 @@
  *
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.INTERNAL)
+@UsageInformation(UsageCategory.INTERNAL)
 public interface WebXmlParameter
 {
     /*
@@ -55,7 +57,7 @@
     static final String CUSTOM_ANNOTATION_EXTRACTOR = WebXmlUtils
         .getInitParameter("CUSTOM_ANNOTATION_EXTRACTOR");
 
-    //TODO documentation
+    @ToDo(Priority.MEDIUM, description = "documentation")
     static final String CUSTOM_VALIDATIONSTRATEGY_MAPPING = WebXmlUtils
         .getInitParameter("CUSTOM_STATIC_VALIDATIONSTRATEGY_MAPPING");
 

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/AnnotationEntry.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/AnnotationEntry.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/AnnotationEntry.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/AnnotationEntry.java Thu Sep 11 16:55:09 2008
@@ -18,7 +18,7 @@
  */
 package org.apache.myfaces.extensions.validator.core.annotation;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import java.lang.annotation.Annotation;
@@ -26,7 +26,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.API)
+@UsageInformation(UsageCategory.API)
 public class AnnotationEntry
 {
     private Annotation annotation;

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractor.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractor.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractor.java Thu Sep 11 16:55:09 2008
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.validator.core.annotation.extractor;
 
 import org.apache.myfaces.extensions.validator.core.annotation.AnnotationEntry;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.context.FacesContext;
@@ -28,7 +28,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.API)
+@UsageInformation(UsageCategory.API)
 public interface AnnotationExtractor
 {
     List<AnnotationEntry> extractAnnotations(FacesContext facesContext,

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractorFactory.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractorFactory.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/AnnotationExtractorFactory.java Thu Sep 11 16:55:09 2008
@@ -18,13 +18,13 @@
  */
 package org.apache.myfaces.extensions.validator.core.annotation.extractor;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.API)
+@UsageInformation(UsageCategory.API)
 public interface AnnotationExtractorFactory
 {
     AnnotationExtractor create();

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultAnnotationExtractorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultAnnotationExtractorFactory.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultAnnotationExtractorFactory.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultAnnotationExtractorFactory.java Thu Sep 11 16:55:09 2008
@@ -21,6 +21,8 @@
 import org.apache.myfaces.extensions.validator.core.WebXmlParameter;
 import org.apache.myfaces.extensions.validator.util.ClassUtils;
 import org.apache.myfaces.extensions.validator.util.ExtValUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -34,6 +36,7 @@
 
     private static AnnotationExtractor annotationExtractor = null;
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     public AnnotationExtractor create()
     {
         if (annotationExtractor == null)
@@ -55,7 +58,6 @@
 
                 if (annotationExtractor != null)
                 {
-                    //TODO logging
                     break;
                 }
             }

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultComponentAnnotationExtractor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultComponentAnnotationExtractor.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultComponentAnnotationExtractor.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/annotation/extractor/DefaultComponentAnnotationExtractor.java Thu Sep 11 16:55:09 2008
@@ -22,6 +22,8 @@
 import org.apache.commons.logging.LogFactory;
 import org.apache.myfaces.extensions.validator.core.annotation.AnnotationEntry;
 import org.apache.myfaces.extensions.validator.util.ELUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
@@ -39,13 +41,13 @@
 {
     protected final Log logger = LogFactory.getLog(getClass());
 
+    @ToDo(Priority.MEDIUM)
     public List<AnnotationEntry> extractAnnotations(FacesContext facesContext,
                                                     Object object)
     {
         //should never occur
         if (!(object instanceof UIComponent))
         {
-            //TODO
             return new ArrayList<AnnotationEntry>();
         }
 
@@ -85,7 +87,6 @@
         //TODO test with complex components
         templateEntry.setValueBindingExpression(valueBindingExpression);
         templateEntry.setEntityClass(entityClass);
-        //TODO
         templateEntry.setBoundTo("value");
 
         /*

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/mapper/NameMapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/mapper/NameMapper.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/mapper/NameMapper.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/mapper/NameMapper.java Thu Sep 11 16:55:09 2008
@@ -18,13 +18,13 @@
  */
 package org.apache.myfaces.extensions.validator.core.mapper;
 
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.API)
+@UsageInformation(UsageCategory.API)
 public interface NameMapper<T>
 {
     String createName(T source);

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultMessageResolverFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultMessageResolverFactory.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultMessageResolverFactory.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultMessageResolverFactory.java Thu Sep 11 16:55:09 2008
@@ -32,6 +32,8 @@
         resolver.mapper.SimpleValidationStrategyToMsgResolverNameMapper;
 import org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy;
 import org.apache.myfaces.extensions.validator.util.ClassUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -41,7 +43,7 @@
 /**
  * @author Gerhard Petracek
  */
-//TODO add generic java api (de-/register mapping)
+@ToDo(Priority.MEDIUM, description = "add generic java api (de-/register mapping)")
 public class DefaultMessageResolverFactory implements
     ClassMappingFactory<ValidationStrategy, MessageResolver>
 {
@@ -102,6 +104,7 @@
         return new DefaultValidationErrorMessageResolver();
     }
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     private void addMapping(String strategyName, String messageResolverName)
     {
         synchronized (DefaultMessageResolverFactory.class)
@@ -109,6 +112,5 @@
             strategyMessageResolverMapping.put(strategyName,
                 messageResolverName);
         }
-        //TODO logging
     }
 }

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/DefaultValidationStrategyFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/DefaultValidationStrategyFactory.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/DefaultValidationStrategyFactory.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/DefaultValidationStrategyFactory.java Thu Sep 11 16:55:09 2008
@@ -34,6 +34,8 @@
 import org.apache.myfaces.extensions.validator.util.ClassUtils;
 import org.apache.myfaces.extensions.validator.util.ELUtils;
 import org.apache.myfaces.extensions.validator.util.ExtValUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import java.lang.annotation.Annotation;
 import java.util.ArrayList;
@@ -48,7 +50,7 @@
 /**
  * @author Gerhard Petracek
  */
-//TODO add generic java api (de-/register mapping)
+@ToDo(Priority.MEDIUM, description = "add generic java api (de-/register mapping)")
 public class DefaultValidationStrategyFactory implements
     ClassMappingFactory<Annotation, ValidationStrategy>
 {
@@ -136,15 +138,16 @@
         }
     }
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     private void addMapping(String annotationName, String strategyName)
     {
         synchronized (DefaultValidationStrategyFactory.class)
         {
             annotationStrategyMapping.put(annotationName, strategyName);
         }
-        //TODO logging
     }
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     private void initStaticStrategyMappings()
     {
         synchronized (DefaultValidationStrategyFactory.class)
@@ -181,7 +184,6 @@
                 }
                 catch (MissingResourceException e)
                 {
-                    //TODO logging
                     e.printStackTrace();
                 }
             }

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ValidationStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ValidationStrategy.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ValidationStrategy.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ValidationStrategy.java Thu Sep 11 16:55:09 2008
@@ -19,7 +19,7 @@
 package org.apache.myfaces.extensions.validator.core.validation.strategy;
 
 import org.apache.myfaces.extensions.validator.core.annotation.AnnotationEntry;
-import org.apache.myfaces.extensions.validator.internal.UsageEnum;
+import org.apache.myfaces.extensions.validator.internal.UsageCategory;
 import org.apache.myfaces.extensions.validator.internal.UsageInformation;
 
 import javax.faces.component.UIComponent;
@@ -28,7 +28,7 @@
 /**
  * @author Gerhard Petracek
  */
-@UsageInformation(UsageEnum.API)
+@UsageInformation(UsageCategory.API)
 public interface ValidationStrategy
 {
     void validate(FacesContext facesContext, UIComponent uiComponent,

Added: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/Priority.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/Priority.java?rev=694548&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/Priority.java (added)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/Priority.java Thu Sep 11 16:55:09 2008
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.extensions.validator.internal;
+
+/**
+ * @author Gerhard Petracek
+ */
+public enum Priority
+{
+    BLOCKING,
+    HIGH,
+    MEDIUM,
+    LOW
+}
\ No newline at end of file

Added: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/ToDo.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/ToDo.java?rev=694548&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/ToDo.java (added)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/ToDo.java Thu Sep 11 16:55:09 2008
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.extensions.validator.internal;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
+import java.lang.annotation.Target;
+
+/**
+ * @author Gerhard Petracek
+ */
+@Target({TYPE, METHOD, FIELD})
+public @interface ToDo
+{
+    Priority value();
+    String description() default "";
+}
\ No newline at end of file

Copied: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageCategory.java (from r694495, myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageEnum.java)
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageCategory.java?p2=myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageCategory.java&p1=myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageEnum.java&r1=694495&r2=694548&rev=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageEnum.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageCategory.java Thu Sep 11 16:55:09 2008
@@ -42,7 +42,7 @@
  *
  * @author Gerhard Petracek
  */
-public enum UsageEnum
+public enum UsageCategory
 {
     API,
     INTERNAL,

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageInformation.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageInformation.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageInformation.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/internal/UsageInformation.java Thu Sep 11 16:55:09 2008
@@ -39,5 +39,5 @@
 @Target({TYPE, METHOD, FIELD})
 public @interface UsageInformation
 {
-    UsageEnum[] value();
+    UsageCategory[] value();
 }

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ELUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ELUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ELUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ELUtils.java Thu Sep 11 16:55:09 2008
@@ -18,6 +18,10 @@
  */
 package org.apache.myfaces.extensions.validator.util;
 
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+
+import javax.el.ValueExpression;
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
 import javax.faces.el.ValueBinding;
@@ -27,6 +31,7 @@
  *
  * @author Gerhard Petracek
  */
+@ToDo(Priority.MEDIUM)
 public class ELUtils
 {
     public static Class getTypeOfValueBindingForExpression(

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ExtValUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ExtValUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ExtValUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/ExtValUtils.java Thu Sep 11 16:55:09 2008
@@ -21,6 +21,8 @@
 import org.apache.myfaces.extensions.validator.core.InformationProviderBean;
 import org.apache.myfaces.extensions.validator.core.ProcessedInformationEntry;
 import org.apache.myfaces.extensions.validator.core.WebXmlParameter;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.FactoryFinder;
 import javax.faces.component.EditableValueHolder;
@@ -41,7 +43,7 @@
  */
 public class ExtValUtils
 {
-    //TODO test
+    @ToDo(Priority.MEDIUM, description = "test")
     public static void createValueBindingConvertedValueMapping(
         UIComponent uiComponent, Object convertedObject)
     {

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FaceletsTaglibExpressionUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FaceletsTaglibExpressionUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FaceletsTaglibExpressionUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FaceletsTaglibExpressionUtils.java Thu Sep 11 16:55:09 2008
@@ -18,6 +18,9 @@
  */
 package org.apache.myfaces.extensions.validator.util;
 
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+
 import javax.faces.component.UIComponent;
 import javax.faces.el.ValueBinding;
 import java.io.Externalizable;
@@ -55,6 +58,7 @@
         }
     }
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     private static String createBinding(List<String> expressions)
     {
         String result = "";
@@ -73,7 +77,6 @@
             {
                 continue;
             }
-            //TODO log entry
 
             foundBindingDetails = entry.split(" ");
             indexOfBindingDetails = findIndexOfBindingDetails(foundBindingDetails);

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java Thu Sep 11 16:55:09 2008
@@ -26,6 +26,8 @@
 import org.apache.myfaces.extensions.validator.core.validation.message.resolver.MessageResolver;
 import org.apache.myfaces.extensions.validator.core.validation.strategy.DefaultValidationStrategyFactory;
 import org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import java.lang.annotation.Annotation;
 import java.util.ArrayList;
@@ -34,11 +36,11 @@
 /**
  * @author Gerhard Petracek
  */
-//TODO
 public class FactoryUtils
 {
     private static AnnotationExtractorFactory annotationExtractorFactory;
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     public static AnnotationExtractorFactory getAnnotationExtractorFactory()
     {
         if (annotationExtractorFactory == null)
@@ -60,7 +62,6 @@
 
                 if (annotationExtractorFactory != null)
                 {
-                    //TODO logging
                     break;
                 }
             }
@@ -92,7 +93,6 @@
 
                 if (validationStrategyFactory != null)
                 {
-                    //TODO logging
                     break;
                 }
             }
@@ -124,7 +124,6 @@
 
                 if (messageResolverFactory != null)
                 {
-                    //TODO logging
                     break;
                 }
             }

Modified: myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/WebXmlUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/WebXmlUtils.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/WebXmlUtils.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/core/src/main/java/org/apache/myfaces/extensions/validator/util/WebXmlUtils.java Thu Sep 11 16:55:09 2008
@@ -27,13 +27,11 @@
  */
 public class WebXmlUtils
 {
-
     public static String getInitParameter(String key)
     {
         String value = FacesContext.getCurrentInstance().getExternalContext()
             .getInitParameter(
                 ExtValInformation.WEBXML_PARAM_PREFIX + "." + key);
-        //TODO
         return (value != null) ? value.replace(" ", "").trim() : null;
     }
 }

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/WebXmlParameter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/WebXmlParameter.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/WebXmlParameter.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/WebXmlParameter.java Thu Sep 11 16:55:09 2008
@@ -19,17 +19,19 @@
 package org.apache.myfaces.extensions.validator.baseval;
 
 import org.apache.myfaces.extensions.validator.util.WebXmlUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 /**
  * centralized in order that these information arn't spread over the complete code base
  *
  * @author Gerhard Petracek
  */
+@ToDo(Priority.HIGH, description = "documentation")
 public interface WebXmlParameter
 {
-    //TODO docu
     static final String VALIDATION_MESSAGES_JPA = WebXmlUtils
             .getInitParameter("JPA_VALIDATION_ERROR_MESSAGES");
     static final String DEACTIVATE_JPA_BASED_VALIDATION = WebXmlUtils
             .getInitParameter("DEACTIVATE_JPA_BASED_VALIDATION");
-}
\ No newline at end of file
+}

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/annotation/extractor/DefaultPropertyScanningAnnotationExtractor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/annotation/extractor/DefaultPropertyScanningAnnotationExtractor.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/annotation/extractor/DefaultPropertyScanningAnnotationExtractor.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/annotation/extractor/DefaultPropertyScanningAnnotationExtractor.java Thu Sep 11 16:55:09 2008
@@ -21,6 +21,8 @@
 import org.apache.myfaces.extensions.validator.core.annotation.AnnotationEntry;
 import org.apache.myfaces.extensions.validator.core.annotation.extractor.DefaultComponentAnnotationExtractor;
 import org.apache.myfaces.extensions.validator.util.ELUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.context.FacesContext;
 import java.util.ArrayList;
@@ -34,6 +36,7 @@
 {
 
     @Override
+    @ToDo(Priority.MEDIUM)
     public List<AnnotationEntry> extractAnnotations(FacesContext facesContext,
             Object object)
     {
@@ -79,4 +82,4 @@
 
         return annotationEntries;
     }
-}
\ No newline at end of file
+}

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java Thu Sep 11 16:55:09 2008
@@ -20,6 +20,8 @@
 
 import org.apache.myfaces.extensions.validator.core.annotation.AnnotationEntry;
 import org.apache.myfaces.extensions.validator.core.validation.strategy.AbstractValidationStrategy;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
@@ -101,7 +103,6 @@
     {
         if (!oneToOne.optional())
         {
-            //TODO
             checkRequiredConvertedObject(convertedObject);
         }
     }
@@ -111,11 +112,11 @@
     {
         if (!manyToOne.optional())
         {
-            //TODO
             checkRequiredConvertedObject(convertedObject);
         }
     }
 
+    @ToDo(Priority.MEDIUM)
     private void checkRequiredConvertedObject(Object convertedObject)
             throws ValidatorException
     {

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIs.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIs.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIs.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIs.java Thu Sep 11 16:55:09 2008
@@ -18,6 +18,9 @@
  */
 package org.apache.myfaces.extensions.validator.crossval.annotation;
 
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+
 import static java.lang.annotation.ElementType.FIELD;
 import static java.lang.annotation.ElementType.METHOD;
 import java.lang.annotation.Retention;
@@ -30,7 +33,7 @@
  */
 @Target( { METHOD, FIELD })
 @Retention(RUNTIME)
-//TODO DateIsEntry (value, type)
+@ToDo(Priority.MEDIUM, description = "DateIsEntry (value, type)")
 public @interface DateIs
 {
     String[] valueOf();
@@ -50,4 +53,4 @@
     String notEqualErrorMsgKey() default "wrong_date_not_equal";
 
     int errorMessageDateStyle() default DateFormat.MEDIUM;
-}
\ No newline at end of file
+}

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIsType.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIsType.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIsType.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/DateIsType.java Thu Sep 11 16:55:09 2008
@@ -18,11 +18,14 @@
  */
 package org.apache.myfaces.extensions.validator.crossval.annotation;
 
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+
 /**
  * @author Gerhard Petracek
  */
+@ToDo(Priority.MEDIUM, description = "beforeOrSame, afterOrSame")
 public enum DateIsType
 {
     before, after, same
-    //TODO: beforeOrSame, afterOrSame
 }

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/RequiredIf.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/RequiredIf.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/RequiredIf.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/annotation/RequiredIf.java Thu Sep 11 16:55:09 2008
@@ -29,7 +29,6 @@
  */
 @Target( { METHOD, FIELD })
 @Retention(RUNTIME)
-//TODO DateIsEntry (value, type)
 public @interface RequiredIf
 {
     String[] valueOf();
@@ -41,4 +40,4 @@
     RequiredIfType is() default RequiredIfType.not_empty;
 
     String validationErrorMsgKey() default "empty_field";
-}
\ No newline at end of file
+}

Modified: myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/AliasCompareStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/AliasCompareStrategy.java?rev=694548&r1=694547&r2=694548&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/AliasCompareStrategy.java (original)
+++ myfaces/extensions/validator/branches/jsf_1.1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/referencing/strategy/AliasCompareStrategy.java Thu Sep 11 16:55:09 2008
@@ -29,6 +29,8 @@
     DefaultValueBindingScanningAnnotationExtractor;
 import org.apache.myfaces.extensions.validator.crossval.strategy.AbstractCompareStrategy;
 import org.apache.myfaces.extensions.validator.util.ELUtils;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
+import org.apache.myfaces.extensions.validator.internal.Priority;
 
 import javax.faces.context.FacesContext;
 import java.lang.reflect.Field;
@@ -203,6 +205,7 @@
         return true;
     }
 
+    @ToDo(Priority.MEDIUM, description = "logging")
     protected Object getValidationTargetObject(
             CrossValidationStorageEntry crossValidationStorageEntry,
             AnnotationEntry foundAnnotationEntry, Object referencedBean,
@@ -212,7 +215,6 @@
                 || foundAnnotationEntry.getBoundTo() == null
                 || foundAnnotationEntry.getBoundTo().indexOf(":") < 0)
         {
-            //TODO logging
             return null;
         }
 
@@ -294,7 +296,6 @@
         }
     }
 
-    //TODO
     protected boolean validateTargetWithAlias(String validationTarget,
             CrossValidationStorageEntry crossValidationStorageEntry,
             CrossValidationStorageEntry entry, boolean useModelValue,
@@ -363,4 +364,4 @@
 
         return result;
     }
-}
\ No newline at end of file
+}



Mime
View raw message