You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Есть кастомный экстеншн CommonFindByExtension, который, по задумке, должен перетирать FindByExtension. Соответственно, в методе test() прописаны аналогичные условия.
Но из-за того, что в классе Configuration переменная extensions инициализируется как HashMap, а не LinkedHashMap,
в классе Atlas в 57 строке получаем configuration.getExtensions(MethodExtension.class).stream() как бог на душу положит. и далее findFirst() вызовет тот экстеншн, который, по воле случая, окажется первым.
The text was updated successfully, but these errors were encountered:
Есть кастомный экстеншн
CommonFindByExtension,
который, по задумке, должен перетиратьFindByExtension
. Соответственно, в методеtest()
прописаны аналогичные условия.Но из-за того, что в классе
Configuration
переменнаяextensions
инициализируется какHashMap
, а неLinkedHashMap
,в классе
Atlas
в 57 строке получаемconfiguration.getExtensions(MethodExtension.class).stream()
как бог на душу положит. и далееfindFirst()
вызовет тот экстеншн, который, по воле случая, окажется первым.The text was updated successfully, but these errors were encountered: