mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectAssetCapabilities.java
private static ComponentType makeComponent(final ComponentTypeEnum componentType)
    {
        // PMD thinks this is an invalid null assignment, it got confused by the statement
        final String description = (componentType == ComponentTypeEnum.OTHER) ? DEFAULT_DESCRIPTION : null; // NOPMD
        return new ComponentType(componentType, description);                      
    }
/**
     * Creates a ComponentType object.
     * @param componentType 
     *      type to include, insert description if OTHER
     * @return ComponentType object
     */
Creates a ComponentType object.
@param componentType
type to include, insert description if OTHER
@return ComponentType object
Creates a ComponentType object . @param componentType type to include insert description if OTHER @return ComponentType object
private static ComponentType makeComponent(final ComponentTypeEnum componentType)
    {
        final String description = (componentType == ComponentTypeEnum.OTHER) ? DEFAULT_DESCRIPTION : null; 
        return new ComponentType(componentType, description);                      
    }
private static ComponentType makeComponent ( final ComponentTypeEnum componentType ) { final String description = ( componentType == ComponentTypeEnum . OTHER ) ? DEFAULT_DESCRIPTION : null ; return new ComponentType ( componentType , description ) ; }
Creates a ComponentType object.
Creates a ComponentType object .
// PMD thinks this is an invalid null assignment, it got confused by the statement // NOPMD