diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-10 18:38:35 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-10 18:38:35 +0100 |
commit | f7f050f4dbb5754243fbcc884eb1a5c1c0a04c10 (patch) | |
tree | 728814d4dc246e21e030e93099d1337e002ad6be /sonar-batch-protocol/src/main/protobuf | |
parent | 627a14b11aed4a2df73342d10ed8938adc58f167 (diff) | |
download | sonarqube-f7f050f4dbb5754243fbcc884eb1a5c1c0a04c10.tar.gz sonarqube-f7f050f4dbb5754243fbcc884eb1a5c1c0a04c10.zip |
Use packed repeated fields in protobuf messages
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf')
-rw-r--r-- | sonar-batch-protocol/src/main/protobuf/batch_report.proto | 2 | ||||
-rw-r--r-- | sonar-batch-protocol/src/main/protobuf/file_source_db.proto | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto index 0499fc2b3ca..d1acbfe00a3 100644 --- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto +++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto @@ -51,7 +51,7 @@ message Component { optional ComponentType type = 4; optional bool is_test = 5; optional string language = 6; - repeated int32 child_refs = 7; + repeated int32 child_refs = 7 [packed=true]; // temporary fields during development of computation stack optional int32 snapshot_id = 8; diff --git a/sonar-batch-protocol/src/main/protobuf/file_source_db.proto b/sonar-batch-protocol/src/main/protobuf/file_source_db.proto index bdb0b877949..cc29e17ccdc 100644 --- a/sonar-batch-protocol/src/main/protobuf/file_source_db.proto +++ b/sonar-batch-protocol/src/main/protobuf/file_source_db.proto @@ -64,7 +64,7 @@ message Line { optional string highlighting = 15; optional string symbols = 16; - repeated int32 duplications = 17; + repeated int32 duplications = 17 [packed=true]; } message Data { |