- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
If you need to log at this level, AOP is a much better option.
Admin
Admin
There is an error in the code (probably): no logger.exiting call when returning false.
Admin
I thinbk it only returns false when null is passed, because it catches all exceptions.
Admin
When param is NULL will return FALSE.
Admin
OT, but jumentum is latin for a mule or other similar creature used for carrying
Admin
JAspect might help them insert log statements into each method without having to retype them and maintain them.
Admin
reading at the code I can guesstimate that this Company is wipro. I can also explain why the developer did that: he has a variable portion of income which is based on statistics such as amount of line coded/bug ratio. Hence the need for them to produce megatons of useless code that does not break and can still be "justified" (i.e. a bit clever than just doesnothing() functions.
Sometime the explanation is not related to IT. It is just that those people do not share the interests of your company, like any other consultant. They don't work for you, they work for that CMMI 5 worldCompany that has stupid metrics, this is it.
Admin
No, you can't
Admin
No
Admin
My bad - Hit submit too soon.
You'll need log files for every possible input/output combination of the program. Not feasible.