Make fields final if possible to ensure immutability
This commit is contained in:
@@ -9,7 +9,7 @@ public class IntegrationRegistry
|
||||
{
|
||||
|
||||
public static IntegrationRegistry instance = null;
|
||||
private LinkedList<IntegrationNode> modules = new LinkedList<IntegrationNode>();
|
||||
private final LinkedList<IntegrationNode> modules = new LinkedList<IntegrationNode>();
|
||||
|
||||
public void add( IntegrationType type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user