c7c9ea1d26011e24ccdd4aa84219625d41a56584
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 4 | ||
| Move Method public testFindMsh18WhenExistsWithTrailingPipe() : void from class org.apache.camel.component.mllp.MllpEndpointTest to public testFindMsh18WhenExistsWithTrailingPipe() : void from class org.apache.camel.component.mllp.internal.Hl7UtilTest | From | To | |
| Move Method public testFindMsh18WhenMissingWithTrailingPipe() : void from class org.apache.camel.component.mllp.MllpEndpointTest to public testFindMsh18WhenMissingWithTrailingPipe() : void from class org.apache.camel.component.mllp.internal.Hl7UtilTest | From | To | |
| Move Method public testFindMsh18WhenMissingWithoutTrailingPipe() : void from class org.apache.camel.component.mllp.MllpEndpointTest to public testFindMsh18WhenMissingWithoutTrailingPipe() : void from class org.apache.camel.component.mllp.internal.Hl7UtilTest | From | To | |
| Move Method public testFindMsh18WhenExistsWithoutTrailingPipe() : void from class org.apache.camel.component.mllp.MllpEndpointTest to public testFindMsh18WhenExistsWithoutTrailingPipe() : void from class org.apache.camel.component.mllp.internal.Hl7UtilTest | From | To | |
| Rename Variable | 1 | ||
| Rename Variable fieldSeparatorIndexes : List<Integer> to fieldSeparatorIndices : List<Integer> in method public findFieldSeparatorIndicesInSegment(hl7MessageBytes byte[], startingIndex int) : List<Integer> in class org.apache.camel.component.mllp.internal.Hl7Util | From | To | |
| Extract Method | 2 | ||
| Extract Method private writeFieldToBuffer(fieldNumber int, mllpSocketBuffer MllpSocketBuffer, hl7MessageBytes byte[], fieldSeparatorIndexes List<Integer>) : void extracted from public generateAcknowledgementPayload(mllpSocketBuffer MllpSocketBuffer, hl7MessageBytes byte[], acknowledgementCode String) : void in class org.apache.camel.component.mllp.internal.Hl7Util | From | To | |
| Extract Method public findFieldSeparatorIndicesInSegment(hl7MessageBytes byte[], startingIndex int) : List<Integer> extracted from public generateAcknowledgementPayload(mllpSocketBuffer MllpSocketBuffer, hl7MessageBytes byte[], acknowledgementCode String) : void in class org.apache.camel.component.mllp.internal.Hl7Util | From | To |