question: public Label handleSequenceName ( String label0 ) { String label = label0 ; String suffix = "" ; if ( label . length ( ) == 0 ) { label = "Unnamed_sequence_" + mNoNameCount ; if ( mNoNameCount < MAX_WARNINGS ) { Diagnostic . warning ( WarningType . NO_NAME , label ) ; } mNoNameCount ++ ; if ( mNoNameCount == MAX_WARNINGS ) { Diagnostic . warning ( "Subsequent warnings of this type will not be shown." ) ; } } for ( int k = 0 ; k < label . length ( ) ; k ++ ) { if ( Character . isWhitespace ( label . charAt ( k ) ) ) { suffix = label . substring ( k ) ; label = label . substring ( 0 , k ) ; break ; } } final StringBuilder newName = new StringBuilder ( ) ; if ( ! fixSequenceName ( label , newName ) ) { throw new NoTalkbackSlimException ( ErrorType . BAD_CHARS_NAME , label ) ; } if ( label . length ( ) > MAX_LABEL_LENGTH ) { if ( mSequenceLabelTooLong < MAX_WARNINGS ) { Diagnostic . warning ( WarningType . SEQUENCE_LABEL_TOO_LONG , label ) ; } mSequenceLabelTooLong ++ ; if ( mSequenceLabelTooLong == MAX_WARNINGS ) { Diagnostic . warning ( "Subsequent warnings of this type will not be shown." ) ; } suffix = label . substring ( MAX_LABEL_LENGTH ) + suffix ; label = label . substring ( 0 , MAX_LABEL_LENGTH ) ; } return new Label ( label , suffix ) ; }
target:  Splits name on first whitespace.