History

TimeSeriesJavaLibrary: Fixed the order in which header fields are parsed for a synchronized subscription.

StephenCWills committed 10 years ago

Commit a6d43de1 parent f7cfcd31 file · +3 −3Browse files

Showing the changes to Source/Libraries/TimeSeriesJavaLibrary/src (1 of 1 file). Show all

Unified · Split

Source/Libraries/TimeSeriesJavaLibrary/src/org/gpa/gsf/timeseries/transport/DataSubscriber.java+3−3
@@ -895,15 +895,15 @@ public class DataSubscriber · 894 unmodified lines
895895 compactFlag = (dataPacketFlags & DataPacketFlags.Compact) != 0;
896896 syncFlag = (dataPacketFlags & DataPacketFlags.Synchronized) != 0;
897897
898− // Gather statistics
899− m_totalMeasurementsReceived += buffer.getInt();
900−
901898 if (syncFlag)
902899 {
903900 frameLevelTimestamp = buffer.getLong();
904901 includeTime = false;
905902 }
906903
904+ // Gather statistics
905+ m_totalMeasurementsReceived += buffer.getInt();
906+
907907 if (compactFlag)
908908 {
909909 // If signal index cache is null, we

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t