|
From: David S. <sa...@mi...> - 2006-10-09 16:02:54
|
Hello, hamcrest developers.
I was excited to see this project--I'd written my own genericized
versions of JMock asserts in the past, but hadn't ever had the time to
publish or support it.
I downloaded and compiled, and discovered that you've run into a similar
problem that I've had with my efforts in the past. There are 19
compiler warnings with the basic text of:
Type safety : A generic array of Matcher<String> is created for a
varargs parameter
With Eclipse 3.2 out of the box. In the past, I've never found a really
satisfying way around this problem, which Java could have easily solved
by using either a typesafe or read-only datatype for desugaring varargs
parameters. I was wondering how you address it / ignore it in your
workspace. Thanks,
David
|