From c20343073c1c3ba5356db69a9c1a040cab339fa1 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 10 Nov 2015 17:29:52 +0100 Subject: SONAR-6993 Replace hash of CpdTextBlock from a list of int to a string Having a the hash represented as a list of int in the report brings too much complexity in the compute engine, as we need only a string. --- sonar-batch-protocol/src/main/protobuf/batch_report.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-batch-protocol/src/main') diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto index ae012d0fc2d..2913e856fb2 100644 --- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto +++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto @@ -144,7 +144,7 @@ message Duplication { // Used for cross project duplication message CpdTextBlock { - repeated int32 hash = 1 [packed = true]; + optional string hash = 1; optional int32 start_line = 2; optional int32 end_line = 3; optional int32 start_token_index = 4; -- cgit v1.2.3