Nobody use PMD or FindBugs to audit his proyects?

Althought you use GWT CodePro Analitics there are the same rules to
audit the code. The theme is what rules are you ensure that your
proyects are implementing. For instance, LAZY INICIALIZATION OF A
STATIC FIELD.

This rule says that if you write:
[code]
private static MyClass instance = null;

public static MyClass getInstace(){
        if (instance==null){
                instance = new MyClass();
        }
        return instance;
}
[/code]

the method needs to be synchronized ... but, Is this necessary in
GWT?. This client class will be compiled to javascript and,  Does
javascript understand about synchronization?

And this is only one of the cases. For this, I was asking for your
PMD, CheckStyle or FindBugs xml files, to know what rules are commonly
audited in your proyects.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to