mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/observation/RemoteObservationListener.java
private void removeObservationIfKnown(final UUID uuid)
        {
            //check if the observation already exists
            final Observation observation = m_ObservationStore.find(uuid);
            if (observation != null)
            {
                //already exists, remove existing observation
                m_ObservationStore.remove(observation);
                m_Logging.info("Observation with UUID [%s] was replace by a remotely received observation with the "
                    + "same UUID", uuid);
            }
        }
/**
         * Check if the given observation already exists within the local datatstore.
         * @param uuid
         *     the UUID of the observation to check for.
         */
Check if the given observation already exists within the local datatstore.
@param uuid
the UUID of the observation to check for.
Check if the given observation already exists within the local datatstore . @param uuid the UUID of the observation to check for .
private void removeObservationIfKnown(final UUID uuid)
        {
            final Observation observation = m_ObservationStore.find(uuid);
            if (observation != null)
            {
                m_ObservationStore.remove(observation);
                m_Logging.info("Observation with UUID [%s] was replace by a remotely received observation with the "
                    + "same UUID", uuid);
            }
        }
private void removeObservationIfKnown ( final UUID uuid ) { final Observation observation = m_ObservationStore . find ( uuid ) ; if ( observation != null ) { m_ObservationStore . remove ( observation ) ; m_Logging . info ( "Observation with UUID [%s] was replace by a remotely received observation with the " + "same UUID" , uuid ) ; } }
Check if the given observation already exists within the local datatstore.
Check if the given observation already exists within the local datatstore .
//check if the observation already exists //already exists, remove existing observation