Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327569

Summary: False warning from Facesconfig validator for ViewDeclarationLanguageFactory
Product: [WebTools] Java Server Faces Reporter: Xiaonan Jiang <xiaonan_jiang>
Component: JSF ToolsAssignee: Gerry Kessler <gerry.kessler>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: raghunathan.srinivasan, yurykats
Version: unspecified   
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xiaonan Jiang CLA 2010-10-12 11:23:16 EDT
Build Identifier: wtp 3.2

The following method in FactoryValidatorVisitor.java is wrong:
        protected String getInstanceOf() {
            return "javax.faces.faces.ViewDeclarationLanguageFactory"; //$NON-NLS-1$
        }

Should be the following instead:
   return "javax.faces.ViewDeclarationLanguageFactory"; //$NON-NLS-1$

This causes a false warning when validating a ViewDeclarationLanguageFactory.

Reproducible: Always
Comment 1 Gerry Kessler CLA 2010-10-25 17:06:09 EDT
Checked into HEAD 10/25/10