|
From: Martin D. <mar...@no...> - 2006-06-07 22:20:42
|
Andrea Aime a =E9crit : >> I suggest to avoid static fields/methods too. Static fields are often=20 >> enumerations or pre-defined instances of the same class. It would=20 >> avoid recursive arrows from a box toward the same box just because a=20 >> predefined constant exists. >=20 > 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/pa= ckage-summary.html I assumed that the recursive arrow was caused by "public static final" fi= elds, but there is also a=20 "private transient" field that may be the cause. Martin. |