Andrea Aime a écrit :
>> I suggest to avoid static fields/methods too. Static fields are often 
>> enumerations or pre-defined instances of the same class. It would 
>> avoid recursive arrows from a box toward the same box just because a 
>> predefined constant exists.
> 
> Good catch, but I already avoided static fields in my generator.
> If you see one, it's a bug. Can you point me to a sample of an arrow
> generated because of a static field?

DefaultCoordinateSystemAxis there:

http://www.andrea-aime.name/static/gt2-api/org/geotools/referencing/cs/package-summary.html

I assumed that the recursive arrow was caused by "public static final" fields, 
but there is also a 
"private transient" field that may be the cause.

        Martin.


_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to