langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
equal
deleted
inserted
replaced
648 path + File.separator: "") + filename); |
648 path + File.separator: "") + filename); |
649 } else { |
649 } else { |
650 fos = new FileOutputStream(filename); |
650 fos = new FileOutputStream(filename); |
651 } |
651 } |
652 if (docencoding == null) { |
652 if (docencoding == null) { |
653 return new OutputStreamWriter(fos); |
653 return new BufferedWriter(new OutputStreamWriter(fos)); |
654 } else { |
654 } else { |
655 return new OutputStreamWriter(fos, docencoding); |
655 return new BufferedWriter(new OutputStreamWriter(fos, docencoding)); |
656 } |
656 } |
657 } |
657 } |
658 |
658 |
659 /** |
659 /** |
660 * Given an annotation, return true if it should be documented and false |
660 * Given an annotation, return true if it should be documented and false |