mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix "Either re-interrupt this method or rethrow the "InterruptedException"." sonar bug
This commit is contained in:
@@ -642,6 +642,8 @@ public class BaseRMRestTest extends RestTest
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
// Restore interrupted state...
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -690,6 +692,8 @@ public class BaseRMRestTest extends RestTest
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
// Restore interrupted state...
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -739,6 +743,8 @@ public class BaseRMRestTest extends RestTest
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
// Restore interrupted state...
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
result = searchApi.searchForNodePropertyAsUser(user.getUsername(), user.getPassword(), nodeRef,
|
||||
|
Reference in New Issue
Block a user