| Summary: | Fix warnings from the build page (for WTP 3.2.5) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Gary Karasiuk <karasiuk> | ||||||||
| Component: | wst.validation | Assignee: | Gary Karasiuk <karasiuk> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | 3.2.4 | ||||||||||
| Target Milestone: | 3.2.5 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 198456 [details]
patch to remove the various compiler warnings
Created attachment 198457 [details]
same patch but with fixed up copyrights
Released to 3.2.5 and HEAD. resolving Created attachment 198616 [details]
fix the last warning
Applied second patch to 3.2.5 and HEAD. I've confirmed that all the build warnings have now been fixed. |
Compiler Report Compiler: Eclipse Compiler for Java(TM) Version: 0.A76_R36x, 3.6.2 Number of source files: 138 Number of classfiles: 215 Problems: 6 (Errors: 0 Warnings: 6 ) Source File: org/eclipse/wst/validation/internal/ValidatorMetaData.java 1. WARNING: DeadCode Dead code ValidatorMetaData.java : 349 : for (int j=0;j<sourceContainers.length; j++) { Source File: org/eclipse/wst/validation/internal/ValidatorTypeFilter.java 1. WARNING: DeadCode Dead code ValidatorTypeFilter.java : 81 : for (int i = 0; i < clInterfaces.length; i++) { Source File: org/eclipse/wst/validation/internal/ValManager.java 1. WARNING: UnusedPrivateMethod The method reset() from the type ValManager.ValidatorIdManager is never used locally ValManager.java : 1072 : public synchronized void reset(){ 2. WARNING: UnusedPrivateMethod The method getIds(BitSet) from the type ValManager.ValidatorIdManager is never used locally ValManager.java : 1082 : public synchronized String[] getIds(BitSet bs){ Source File: org/eclipse/wst/validation/internal/ValPrefManagerGlobal.java 1. WARNING: UnusedPrivateMethod The method getVersion() from the type ValPrefManagerGlobal.Global is never used locally ValPrefManagerGlobal.java : 624 : public int getVersion() { Source File: org/eclipse/wst/validation/internal/model/FilterRule.java 1. WARNING: DeadCode Dead code FilterRule.java : 515 : if (name == null)return Boolean.FALSE;