mil.dod.th.ose.sdk/src/mil/dod/th/ose/sdk/those/ProjectGenerator.java
private void preProcess(final ProjectProperties props)
    {
        props.setAttributeType(determineAttributeType(props.getProjectType(), props.getPhysicalLinkTypeEnum()));
        props.setProxyType(determineProxyType(props.getProjectType(), props.getPhysicalLinkTypeEnum()));

        if (props.getPhysicalLinkTypeEnum() == PhysicalLinkTypeEnum.SERIAL_PORT)
        {
            props.setPhysicalLinkExtraCode("@Override\n"
                    + "    public void setDTR(final boolean high) throws UnsupportedOperationException\n" + "    {\n"
                    + "        // ${task}: Method should adjust the data transmit ready pin based on the input. If\n"
                    + "        // operation is supported, remove the throw below. If not supported, keep method as "
                    + "is.\n\n" // NOCHECKSTYLE: repeated string literal, not worried about other copy keeping in sync
                    + "        throw new UnsupportedOperationException(\"Platform does not support setting DTR\");\n"
                    + "    }\n");
        }
        else
        {
            props.setPhysicalLinkExtraCode("");
        }
    }
/**
     * Perform any pre-processing of the properties before processing the template files.
     * 
     * @param props
     *            properties of the project
     */
Perform any pre-processing of the properties before processing the template files.

@param props
properties of the project
Perform any pre - processing of the properties before processing the template files . @param props properties of the project
private void preProcess(final ProjectProperties props)
    {
        props.setAttributeType(determineAttributeType(props.getProjectType(), props.getPhysicalLinkTypeEnum()));
        props.setProxyType(determineProxyType(props.getProjectType(), props.getPhysicalLinkTypeEnum()));
        if (props.getPhysicalLinkTypeEnum() == PhysicalLinkTypeEnum.SERIAL_PORT)
        {
            props.setPhysicalLinkExtraCode("@Override\n"
                    + "    public void setDTR(final boolean high) throws UnsupportedOperationException\n" + "    {\n"
                    + "        // ${task}: Method should adjust the data transmit ready pin based on the input. If\n"
                    + "        // operation is supported, remove the throw below. If not supported, keep method as "
                    + "is.\n\n" 
                    + "        throw new UnsupportedOperationException(\"Platform does not support setting DTR\");\n"
                    + "    }\n");
        }
        else
        {
            props.setPhysicalLinkExtraCode("");
        }
    }
private void preProcess ( final ProjectProperties props ) { props . setAttributeType ( determineAttributeType ( props . getProjectType ( ) , props . getPhysicalLinkTypeEnum ( ) ) ) ; props . setProxyType ( determineProxyType ( props . getProjectType ( ) , props . getPhysicalLinkTypeEnum ( ) ) ) ; if ( props . getPhysicalLinkTypeEnum ( ) == PhysicalLinkTypeEnum . SERIAL_PORT ) { props . setPhysicalLinkExtraCode ( "@Override\n" + "    public void setDTR(final boolean high) throws UnsupportedOperationException\n" + "    {\n" + "        // ${task}: Method should adjust the data transmit ready pin based on the input. If\n" + "        // operation is supported, remove the throw below. If not supported, keep method as " + "is.\n\n" + "        throw new UnsupportedOperationException(\"Platform does not support setting DTR\");\n" + "    }\n" ) ; } else { props . setPhysicalLinkExtraCode ( "" ) ; } }
Perform any pre-processing of the properties before processing the template files.
Perform any pre - processing of the properties before processing the template files .
// NOCHECKSTYLE: repeated string literal, not worried about other copy keeping in sync