File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed
src/main/java/com/github/_1c_syntax/bsl/mdo Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ if (childMDO.isPresent() && childMDO.get() instanceof Catalog catalog) {
317317 // проверим наименование
318318 assertThat(objectAttribute. getName()). isEqualTo(" Реквизит2" );
319319
320- // // описание типа доступно через getValueType()
320+ // описание типа доступно через getValueType()
321321 assertThat(objectAttribute. getValueType()). isNotNull();
322322 // убедимся в наличии примитивного типа СТРОКА в составе описания
323323 assertThat(objectAttribute. getValueType(). contains(PrimitiveValueType . NUMBER )). isTrue();
@@ -330,7 +330,7 @@ if (childMDO.isPresent() && childMDO.get() instanceof Catalog catalog) {
330330 var qualifier = objectAttribute. getValueType(). getQualifiers(). get(0 );
331331 assertThat(qualifier). isInstanceOf(NumberQualifiers . class);
332332
333- // убаимся , что квалификатор числа содожержит верную информацию
333+ // убедимся , что квалификатор числа содежржит верную информацию
334334 var numberQualifiers = (NumberQualifiers ) qualifier;
335335 assertThat(numberQualifiers. getPrecision()). isEqualTo(10 ); // длина 10
336336 assertThat(numberQualifiers. getScale()). isEqualTo(0 ); // точность 0
Original file line number Diff line number Diff line change 2020 * License along with MDClasses.
2121 */
2222/**
23- * Пакет для хранения данных элементов форм
24- */
25- package com .github ._1c_syntax .bsl .mdo .storage .form ;
23+ * Пакет для хранения данных элементов форм
24+ */
25+ @ ParametersAreNonnullByDefault
26+ package com .github ._1c_syntax .bsl .mdo .storage .form ;
27+
28+ import javax .annotation .ParametersAreNonnullByDefault ;
Original file line number Diff line number Diff line change 2323
2424import lombok .Value ;
2525
26+ import javax .annotation .Nullable ;
2627import java .util .regex .Pattern ;
2728
2829/**
@@ -44,7 +45,7 @@ public class Handler {
4445 String moduleName ;
4546 String methodName ;
4647
47- public Handler (String path ) {
48+ public Handler (@ Nullable String path ) {
4849 path = path == null ? "" : path ;
4950
5051 methodPath = path ;
Original file line number Diff line number Diff line change 2424 * - типы
2525 * - контейнеры данных (для хранения сложной информации)
2626 */
27+ @ ParametersAreNonnullByDefault
28+ @ ReturnValuesAreNonnullByDefault
2729package com .github ._1c_syntax .bsl .mdo .support ;
30+
31+ import edu .umd .cs .findbugs .annotations .ReturnValuesAreNonnullByDefault ;
32+
33+ import javax .annotation .ParametersAreNonnullByDefault ;
You can’t perform that action at this time.
0 commit comments