Skip to content

Commit 408f011

Browse files
Volume: Generalize converterSetups from ArrayList to List for RAISource and SpimDataMinimalSource
1 parent db54e1c commit 408f011

File tree

1 file changed

+2
-2
lines changed
  • src/main/kotlin/graphics/scenery/volumes

1 file changed

+2
-2
lines changed

src/main/kotlin/graphics/scenery/volumes/Volume.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ open class Volume(
235235
@Transient
236236
val sources: List<SourceAndConverter<*>>,
237237
@Transient
238-
val converterSetups: ArrayList<ConverterSetup>,
238+
val converterSetups: List<ConverterSetup>,
239239
val numTimepoints: Int
240240
) : VolumeDataSource()
241241
class RAISource<T: NumericType<T>>(
@@ -244,7 +244,7 @@ open class Volume(
244244
@Transient
245245
val sources: List<SourceAndConverter<T>>,
246246
@Transient
247-
val converterSetups: ArrayList<ConverterSetup>,
247+
val converterSetups: List<ConverterSetup>,
248248
val numTimepoints: Int,
249249
@Transient
250250
val cacheControl: CacheControl? = null,

0 commit comments

Comments
 (0)