wwu-pi / muggl

A Symbolic ATCG
GNU General Public License v3.0
2 stars 1 forks source link

ClassCastException when receiving int instead of Integer #4

Open manuelmontenegro opened 10 years ago

manuelmontenegro commented 10 years ago

980d0c3

The InsertionSort.java file contains among others, two dummy methods: sillyFunction(int[] array, int position) sillyFunction(int[] array, Integer position)

The latter works fine, the former throws a ClassCastException.