private SoyMsgPart compactPart ( SoyMsgPart part ) { if ( part instanceof SoyMsgPluralPart ) { part = compactPlural ( ( SoyMsgPluralPart ) part ) ; } else if ( part instanceof SoyMsgSelectPart ) { part = compactSelect ( ( SoyMsgSelectPart ) part ) ; } else if ( part instanceof SoyMsgPlaceholderPart ) { part = compactPlaceholder ( ( SoyMsgPlaceholderPart ) part ) ; } // Now intern the message part. return intern ( part ) ; }
Compacts a single message part .