void displayedPhylogenyMightHaveChanged( final boolean recalc_longest_ext_node_info ) {
if ( ( _mainpanel != null )
- && ( _mainpanel.getCurrentPhylogeny() != null && !_mainpanel.getCurrentPhylogeny().isEmpty() ) ) {
+ && ( ( _mainpanel.getCurrentPhylogeny() != null ) && !_mainpanel.getCurrentPhylogeny().isEmpty() ) ) {
if ( getOptions().isShowOverview() ) {
_mainpanel.getCurrentTreePanel().updateOvSizes();
}
* Fit entire tree into window.
*/
void showWhole() {
- if ( _mainpanel.getCurrentScrollPane() == null || _mainpanel.getCurrentTreePanel().getPhylogeny().isEmpty() ) {
+ if ( ( _mainpanel.getCurrentScrollPane() == null ) || _mainpanel.getCurrentTreePanel().getPhylogeny().isEmpty() ) {
return;
}
getCurrentTreePanel().updateSetOfCollapsedExternalNodes();
final int graphics_file_height,
final int graphics_file_x,
final int graphics_file_y ) {
- if ( _phylogeny == null || _phylogeny.isEmpty() ) {
+ if ( ( _phylogeny == null ) || _phylogeny.isEmpty() ) {
return;
}
if ( _control_panel.isShowSequenceRelations() ) {
finally {
end( _mf );
}
- if ( _phy == null || _phy.isEmpty() ) {
+ if ( ( _phy == null ) || _phy.isEmpty() ) {
try {
JOptionPane.showMessageDialog( _mf,
"None of the external node taxonomies could be resolved",