// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
+
package org.forester.archaeopteryx;
initNodeData();
if ( recalc_longest_ext_node_info ) {
calculateLongestExtNodeInfo();
- while ( getLongestExtNodeInfo() > y / 2 && getTreeFontSet().getLargeFont().getSize() > 2 ) {
+ while ( ( getLongestExtNodeInfo() > y / 2 ) && ( getTreeFontSet().getLargeFont().getSize() > 2 ) ) {
getMainPanel().getTreeFontSet().decreaseFontSize();
calculateLongestExtNodeInfo();
}
-
}
int ext_nodes = _phylogeny.getRoot().getNumberOfExternalNodes();
final int max_depth = PhylogenyMethods.calculateMaxDepth( _phylogeny );
errorMessageNoCutCopyPasteInUnrootedDisplay();
return;
}
- if ( node.isRoot() && node.getNumberOfDescendants() != 1 ) {
+ if ( node.isRoot() && ( node.getNumberOfDescendants() != 1 ) ) {
JOptionPane.showMessageDialog( this,
"Cannot delete entire tree",
"Attempt to delete entire tree",