Skip to content

Commit 04c515c

Browse files
author
yevhenii-nadtochii
committed
Add file-level comments
1 parent b735e53 commit 04c515c

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

model/src/testFixtures/proto/spine/validation/goes_bad_companion_type.proto

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ option java_package = "io.spine.validation";
3636
option java_outer_classname = "GoesBadCompanionTypeProto";
3737
option java_multiple_files = true;
3838

39-
/*
40-
Incompatible field types:
41-
1. double, float.
42-
2. all integers.
43-
3. bool.
44-
*/
39+
// This file declares messages that specify a field with incompatible type as a companion.
40+
// Incompatible field types are the following:
41+
// 1. All numeric fields.
42+
// 3. Boolean.
4543

4644
message GoesBoolCompanion {
4745
bool companion = 1;

model/src/testFixtures/proto/spine/validation/goes_bad_target_type.proto

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ option java_package = "io.spine.validation";
3636
option java_outer_classname = "GoesBadTargetTypeProto";
3737
option java_multiple_files = true;
3838

39-
/*
40-
Incompatible field types:
41-
1. double, float.
42-
2. all integers.
43-
3. bool.
44-
*/
39+
// This file declares messages that apply `(goes)` option to fields with incompatible type.
40+
// Incompatible field types are the following:
41+
// 1. All numeric fields.
42+
// 3. Boolean.
4543

4644
message GoesBoolTarget {
4745
string companion = 1;

0 commit comments

Comments
 (0)