Skip to content

Commit

Permalink
Improvements to AI comments :)
Browse files Browse the repository at this point in the history
  • Loading branch information
lciolecki committed Nov 16, 2024
1 parent 91c1d8c commit 36baa67
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
21 changes: 14 additions & 7 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,20 @@
* [#7021](https://github.com/TouK/nussknacker/pull/7021) Definitions service can return definition without UI config
* [#7010](https://github.com/TouK/nussknacker/pull/7010) Dynamic access allowed via indexer operator (`[]`) on expressions typed as `Unknown`
* [#7063](https://github.com/TouK/nussknacker/pull/7063) Introduce conversion extension methods in SpeL:
* is(className)/to(className)/toOrNull(className)
* isBoolean/toBoolean/toBooleanOrNull
* isLong/toLong/toLongOrNull
* isDouble/toDouble/toDoubleOrNull
* isBigDecimal/toBigDecimal/toBigDecimalOrNull
* isList/toList/toListOrNull
* isMap/toMap/toMapOrNull - the list of key-value pairs or unknown map can be converted to a map.
* canBe(className)/to(className)/toOrNull(className)
* canBeBoolean/toBoolean/toBooleanOrNull
* canBeLong/toLong/toLongOrNull
* canBeDouble/toDouble/toDoubleOrNull
* canBeBigDecimal/toBigDecimal/toBigDecimalOrNull
* canBeList/toList/toListOrNull
* canBeMap/toMap/toMapOrNull - the list of key-value pairs or unknown map can be converted to a map.
* [#7106](https://github.com/TouK/nussknacker/pull/7106) Fix an issue where pressing the “Esc” key did not remove focus from input fields in dialogs, which prevented the dialog window from closing
* [#7002](https://github.com/TouK/nussknacker/pull/7002) Resolve an issue with union nodes output expression when nodes were copied and pasted
* [#6994](https://github.com/TouK/nussknacker/pull/6994) Fix styling issues for form checkboxes in Firefox
* [#6721](https://github.com/TouK/nussknacker/pull/6721) Provide a popover to display additional information about count
* [#7099](https://github.com/TouK/nussknacker/pull/7099) Provide an option to embedded video to the markdown
* [#7102](https://github.com/TouK/nussknacker/pull/7102) Introduce a new UI to defining aggregations within nodes
* [#7147](https://github.com/TouK/nussknacker/pull/7147) Fix redundant "ParameterName(...)" wrapper string in exported PDFs in nodes details

## 1.17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ object RandomImplicits {
def nextString(): String =
randomString(MinStringLength + rand.nextInt(MaxStringLength - MinStringLength))

def randomString(length: Int): String =
(0 until length).map(_ => AllowedStringLetters(rand.nextInt(AllowedStringLetters.length))).mkString
def randomString(length: Int): String = {
require(length >= 0, "Length must be non-negative") ∑
(0 until length).map(_ => AllowedStringLetters(rand.nextInt(AllowedStringLetters.length))).mkString
}

}

Expand Down

0 comments on commit 36baa67

Please sign in to comment.