Describe the bug
In section 1.5.4 of Move Selector Reference, under the header Filtered Move Selection, the definition of the class DifferentCourseSwapMoveFilter has it extend SelectionFilter<CourseSchedule, SwapMove>. SwapMove is a parameterised class and its type parameters are missing in this example. In Java, this will work but is considered unsafe and will generate a lint warning on several IDEs. If used in equivalent Kotlin code, it is banned.
Expected content
The type should be listed as SelectionFilter<CourseSchedule,SwapMove<CourseSchedule,Lecture>> in order to provide the parameters, or a warning should be attached to the example about the raw use of a parameterised class.
Describe the bug
In section 1.5.4 of Move Selector Reference, under the header Filtered Move Selection, the definition of the class
DifferentCourseSwapMoveFilterhas it extendSelectionFilter<CourseSchedule, SwapMove>.SwapMoveis a parameterised class and its type parameters are missing in this example. In Java, this will work but is considered unsafe and will generate a lint warning on several IDEs. If used in equivalent Kotlin code, it is banned.Expected content
The type should be listed as
SelectionFilter<CourseSchedule,SwapMove<CourseSchedule,Lecture>>in order to provide the parameters, or a warning should be attached to the example about the raw use of a parameterised class.