src/share/classes/com/sun/tools/javadoc/DocEnv.java

changeset 1411
467f4f754368
parent 1409
33abf479f202
child 1443
cfde9737131e
equal deleted inserted replaced
1410:bfec2a1cc869 1411:467f4f754368
209 * Set the locale. 209 * Set the locale.
210 */ 210 */
211 public void setLocale(String localeName) { 211 public void setLocale(String localeName) {
212 // create locale specifics 212 // create locale specifics
213 doclocale = new DocLocale(this, localeName, breakiterator); 213 doclocale = new DocLocale(this, localeName, breakiterator);
214 // reset Messager if locale has changed. 214 // update Messager if locale has changed.
215 messager.reset(); 215 messager.setLocale(doclocale.locale);
216 } 216 }
217 217
218 /** Check whether this member should be documented. */ 218 /** Check whether this member should be documented. */
219 public boolean shouldDocument(VarSymbol sym) { 219 public boolean shouldDocument(VarSymbol sym) {
220 long mod = sym.flags(); 220 long mod = sym.flags();

mercurial