projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmf.core: Introduce TmfTimestamp factory methods
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.core
/
src
/
org
/
eclipse
/
tracecompass
/
tmf
/
core
/
trace
/
location
/
TmfTimestampLocation.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/location/TmfTimestampLocation.java
b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/location/TmfTimestampLocation.java
index 5ed344cd78de8d325c46f0ca08e6fafb7d19b49d..40a1deed1b6c7b6f4bfea63c16d9b57ba7d09bc3 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/location/TmfTimestampLocation.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/location/TmfTimestampLocation.java
@@
-49,7
+49,7
@@
public final class TmfTimestampLocation extends TmfLocation {
* the buffer to read from
*/
public TmfTimestampLocation(ByteBuffer bufferIn) {
* the buffer to read from
*/
public TmfTimestampLocation(ByteBuffer bufferIn) {
- super(
new TmfTimestamp
(bufferIn));
+ super(
TmfTimestamp.create
(bufferIn));
}
@Override
}
@Override
@@
-59,7
+59,6
@@
public final class TmfTimestampLocation extends TmfLocation {
@Override
public void serialize(ByteBuffer bufferOut) {
@Override
public void serialize(ByteBuffer bufferOut) {
- TmfTimestamp t = new TmfTimestamp(getLocationInfo());
- t.serialize(bufferOut);
+ TmfTimestamp.serialize(bufferOut, getLocationInfo());
}
}
}
}
This page took
0.026283 seconds
and
5
git commands to generate.