On Dec 9, 2010, at 12:46 AM, Sergiu Dumitriu wrote: > On 12/08/2010 04:02 PM, Marius Dumitru Florea wrote: >> Hi Sergiu, >> >> On 12/08/2010 02:50 PM, sdumitriu (SVN) wrote: >>> Author: sdumitriu >>> Date: 2010-12-08 13:50:55 +0100 (Wed, 08 Dec 2010) >>> New Revision: 33309 >>> >>> Modified: >>> >>> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/image/ImagePlugin.java >>> Log: >> >>> [cleanup] Applied codestyle >> >> Did we set any code style rule regarding "this" usage? I prefer not to >> use it where it isn't needed. >> > > It seems there's no standard. I prefer to always put it because it's > obvious when reading a fragment of code outside an IDE which variables > are local and which are class members.
I agree and I've seen errors in the past with scoping (and they're hard to find). -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

