mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectAssetCapabilities.java
private static SensingModality makeSensingModality(final SensingModalityEnum modalityType)
    {
        // PMD thinks this is an invalid null assignment, it got confused by the statement
        final String description = (modalityType == SensingModalityEnum.OTHER) ? DEFAULT_DESCRIPTION : null; // NOPMD
        return new SensingModality(modalityType, description);                      
    }
/**
     * Creates a SensingModality object.
     * @param modalityType used to create the SensingModality object
     * @return SensingModality object
     */
Creates a SensingModality object.
@param modalityType used to create the SensingModality object
@return SensingModality object
Creates a SensingModality object . @param modalityType used to create the SensingModality object @return SensingModality object
private static SensingModality makeSensingModality(final SensingModalityEnum modalityType)
    {
        final String description = (modalityType == SensingModalityEnum.OTHER) ? DEFAULT_DESCRIPTION : null; 
        return new SensingModality(modalityType, description);                      
    }
private static SensingModality makeSensingModality ( final SensingModalityEnum modalityType ) { final String description = ( modalityType == SensingModalityEnum . OTHER ) ? DEFAULT_DESCRIPTION : null ; return new SensingModality ( modalityType , description ) ; }
Creates a SensingModality object.
Creates a SensingModality object .
// PMD thinks this is an invalid null assignment, it got confused by the statement // NOPMD