Skip to content

Commit e05263e

Browse files
committed
Fixed review issues
1 parent 151b4a3 commit e05263e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/SpeculativeFieldNonNullability.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ most of generated branches would be `NPE` branches, while useful paths could be
1818
Beyond that, in many cases the `null` value of a field can't be generated using the public API
1919
of the class. This is particularly true for final fields, especially in system classes.
2020
it is also often true for non-public fields from standard library and third-party libraries (even setters often do not
21-
allow `null` values). Automatically generated tests assign `null` values to fields in questions using reflection,
21+
allow `null` values). Automatically generated tests assign `null` values to fields using reflection,
2222
but these tests may be uninformative as the corresponding `NPE` branches would never occur
2323
in the real code that limits itself to the public API.
2424

utbot-framework-api/src/main/kotlin/org/utbot/framework/UtSettings.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ object UtSettings {
184184
var checkNpeInNestedNotPrivateMethods by getBooleanProperty(false)
185185

186186
/**
187-
* This option determines whether should we generate [NullPointerException] checks for final or non-public fields
187+
* This option determines whether we should generate [NullPointerException] checks for final or non-public fields
188188
* in non-application classes. Set by true, this option highly decreases test's readability in some cases
189189
* because of using reflection API for setting final/non-public fields in non-application classes.
190190
*

0 commit comments

Comments
 (0)