Minor tweaks to generics on API (more lenient)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-08-24 20:08:44 +00:00
parent d4965c994e
commit b8c93f89f3

View File

@@ -451,7 +451,6 @@ public class RetryingTransactionHelper
* @param cause the cause to examine * @param cause the cause to examine
* @return Returns the original cause if it is a valid retry cause, otherwise <tt>null</tt> * @return Returns the original cause if it is a valid retry cause, otherwise <tt>null</tt>
*/ */
@SuppressWarnings("unchecked")
public static Throwable extractRetryCause(Throwable cause) public static Throwable extractRetryCause(Throwable cause)
{ {
Throwable retryCause = ExceptionStackUtil.getCause(cause, RETRY_EXCEPTIONS); Throwable retryCause = ExceptionStackUtil.getCause(cause, RETRY_EXCEPTIONS);