Merge branch 'master' into 'MasterBugFixing'
Merge branch 'master' into 'MasterBugFixing'
BS-9484, Implement the catch of errorCode between multiInstance and
connector
BS-9484, change the way to spy the object with injected mocks due to a
limitation of mockito
Switch cases should end with an unconditional break statement
Primitive wrappers should not be instantiated only to perform a to
String conversion
Right curly brace and next "else", "catch" and "finally" keywords should
be located on the same line
Left curly braces should be located at the end of lines of code
Boolean Instantiation
Unnecessary Local Before Return
Unused local variable
Long suffix "L" should be upper case
Constants should be declared "final static" rather than merely "final"
Useless parentheses around expressions should be removed to prevent any
misunderstanding
String.valueOf() should not be appended to a String
BS-11432, fix locking issue when deleting process instances having sub processes
BS-11508, can invoke method with a parameter more generic than its type
(i.e. List for Collection)
Merge remote-tracking branch 'origin/master' into MasterBugFixing

Conflicts:
	bonita-integration-tests/bonita-integration-tests-client/src/main/java/org/bonitasoft/engine/process/document/DocumentIntegrationTest.java
	bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/api/impl/ProcessAPIImpl.java
	bpm/bonita-core/bonita-process-instance/bonita-process-instance-impl/src/main/java/org/bonitasoft/engine/core/process/instance/impl/ActivityInstanceServiceImpl.java
BS-114791, change package of dynamic permission rules to avoid path too long on windows + change method check to isAllowed
BS-114791, fix integration tests