imglib / imglib2-roi

Regions of interest (ROIs) and labelings for ImgLib2
Other
8 stars 8 forks source link

Use shallow copy on creation, and unmodifiable list on getVertices() #24

Closed jaywarrick closed 6 years ago

jaywarrick commented 8 years ago

Per imagej forum discussion:

http://forum.imagej.net/t/maybe-a-stupid-question-list-extends-reallocal izable-vs-list-reallocalizable/689/6

dietzc commented 8 years ago

thank @jaywarrick. Please find some comments from my side in the commit. btw. can you set your github user-account in your local git preferences?

tpietzsch commented 8 years ago

don't use Vector, use ArrayList

tpietzsch commented 6 years ago

updated and merged via https://github.com/imglib/imglib2-roi/pull/30