aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--microbenchmark-template/src/main/java/org/sonar/microbenchmark/SerializationBenchmark.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/microbenchmark-template/src/main/java/org/sonar/microbenchmark/SerializationBenchmark.java b/microbenchmark-template/src/main/java/org/sonar/microbenchmark/SerializationBenchmark.java
index c392d7cf841..6957fa1f403 100644
--- a/microbenchmark-template/src/main/java/org/sonar/microbenchmark/SerializationBenchmark.java
+++ b/microbenchmark-template/src/main/java/org/sonar/microbenchmark/SerializationBenchmark.java
@@ -147,10 +147,10 @@ public class SerializationBenchmark {
@Override
public void writeExternal(ObjectOutput out) throws IOException {
- out.writeObject(uuid);
- out.writeObject(severity);
- out.writeObject(message);
- out.writeObject(author);
+ out.writeBytes(uuid);
+ out.writeBytes(severity);
+ out.writeBytes(message);
+ out.writeBytes(author);
out.writeInt(line);
}