Apache Directory Project - [jira] Commented: (DIRSERVER-1056) Cleaning the warnings

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > November 2007 > [jira] Commented: (DIRSERVER-1056) Cleaning the warnings





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (DIRSERVER-1056) Cleaning the warnings
Emmanuel Lecharny (JIRA)

2007-11-18, 7:11 am


[ https://issues.apache.org/jira/brow...action_12543368 ]

Emmanuel Lecharny commented on DIRSERVER-1056:
----------------------------------------------

After having changed to Eclipse 3.3, and being a little bit more strict with warnings, I get now a total of 2010 warnings, out of which :
- 761 are in sources
- 1249 are in tests

This should not be scaring, as many of those warnings are related to lack of generic usage (for instance, we have _many_ places where we use Enumeration values = attr.getAll(); where we should use Enumeration<?> values = attr.getAll())

It's the same thing with Comparators.

> Cleaning the warnings
> ---------------------
>
> Key: DIRSERVER-1056
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1056
> Project: Directory ApacheDS
> Issue Type: Task
> Affects Versions: 1.5.1
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
> Priority: Critical
> Fix For: 1.5.2
>
>
> We have around 1900 warnings in the whole ADS project (excluding Studio). If we exclude antlr generated warnings, we still have around 1000 warnings.
> Again, if we exclude tests, we still have around 500 warnings. They are mainly Collections not being typed. We should remove those warnings asap.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com