In the following code

http://www.openehr.org/svn/knowledge_tools_dotnet/TRUNK/ArchetypeEditor/BusinessLogic/openEHR/History/RmEvent.vb

there exists the following

    Public Overrides Function Copy() As RmStructure
        Dim ae As New RmEvent(Me.NodeId)
        ae.cOccurrences = Me.cOccurrences
        ae.mType = mType
        ae.sNodeId = Me.sNodeId
        ae.mRunTimeConstraint = Me.mRunTimeConstraint
        ae.iOffset = Me.iOffset
        ae.sOffset = Me.sOffset
        ae.iWidth = Me.iWidth
        ae.sWidth = Me.sWidth
        ae.mEventType = Me.EventType
        ae.boolSignNeg = Me.boolSignNeg
        ae.boolFixedDuration = Me.boolFixedDuration
        ae.boolFixedOffset = ae.boolFixedOffset
        Return ae
    End Function

is the following line an error?, why set it to itself?

ae.boolFixedOffset = ae.boolFixedOffset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20081219/808b6d65/attachment.html>

Reply via email to