webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

In scala backend, get rid of null entirely, use scala Options instead.

Open fm3 opened this issue 2 years ago • 1 comments

There are some usages of null, e.g. in IsosurfaceServiceHolder and VolumeTracingService. This is a code smell, should be replaced by Scala Option/None for type safety.

fm3 avatar May 23 '22 09:05 fm3

I found some in

  • LRUConcurrentCache
  • ImageCreator
  • ZipIO
  • JsonHelper
  • TextUtils
  • IntervalScheduler
  • DataServiceDataRequest
  • IsosurfaceServiceHolder
  • mappingNameForMeshFile

fm3 avatar Sep 19 '22 17:09 fm3