Fully adopt Java Generics in all of Mifos code, for better type safety and to 
catch possible subtle bugs
--------------------------------------------------------------------------------------------------------

                 Key: MIFOS-4436
                 URL: http://mifosforge.jira.com/browse/MIFOS-4436
             Project: mifos
          Issue Type: Improvement
            Reporter: Michael Vorburger


In MIFOS-4435 I've found a subtle bug, typical for the times from before when 
we had type safe generics in Java.

MIFOS-4435 has a patch for that specific issue.  This issue generalizes the 
problem, and suggests that it may be worthwhile to invest some Mifos dev time 
to fully adopt Java Generics in all of Mifos code, AKA remove all the "... is a 
raw type. References to generic type ... should be parameterized" warnings seen 
in Eclipse today.

This will lead to better type safety and avoid bugs in the future, and may 
identify other bugs à la MIFOS-4435 in the existing code base.

Note that such bugs typically do not lead to unnoticed subtle functional issues 
at runtime, but type case exceptions at runtime.  The value of doing this work 
would be in identifying such bugs at compile time.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to