From: <mgu...@us...> - 2012-11-08 09:04:07
|
Revision: 7702 http://sourceforge.net/p/htmlunit/code/7702 Author: mguillem Date: 2012-11-08 09:03:45 +0000 (Thu, 08 Nov 2012) Log Message: ----------- removed unchecked cast Modified Paths: -------------- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java 2012-11-08 05:08:19 UTC (rev 7701) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java 2012-11-08 09:03:45 UTC (rev 7702) @@ -373,9 +373,8 @@ public boolean clearExpired(final Date date) { return false; } - @SuppressWarnings("unchecked") public List<Cookie> getCookies() { - return Collections.EMPTY_LIST; + return Collections.<Cookie>emptyList(); } }); } |