- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- try{
- Util.writePhylogenyToGraphicsByteArrayOutputStream( baos,
- _main_panel.getWidth(),
- _main_panel.getHeight(),
- this.getCurrentTreePanel(),
- getCurrentTreePanel().getControlPanel(),
- GraphicsExportType.valueOf(format),
- getOptions());
- }catch(IOException ioe){
+ final ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ try {
+ AptxUtil.writePhylogenyToGraphicsByteArrayOutputStream( baos,
+ _main_panel.getWidth(),
+ _main_panel.getHeight(),
+ getCurrentTreePanel(),
+ getCurrentTreePanel().getControlPanel(),
+ GraphicsExportType.valueOf( format ),
+ getOptions() );
+ }
+ catch ( final IOException ioe ) {