- Sequence seq = null;
- Taxonomy tax = null;
- if ( node.getNodeData().isHasSequence() ) {
- seq = node.getNodeData().getSequence();
- }
- else {
- seq = new Sequence();
- }
- if ( node.getNodeData().isHasTaxonomy() ) {
- tax = node.getNodeData().getTaxonomy();
- }
- else {
- tax = new Taxonomy();
- }
+ final Sequence seq = node.getNodeData().isHasSequence() ? node.getNodeData().getSequence() : new Sequence() ;
+ final Taxonomy tax = node.getNodeData().isHasTaxonomy() ? node.getNodeData().getTaxonomy() : new Taxonomy() ;
+
+