Skip to content

Commit

Permalink
Minor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 21, 2015
1 parent 150a007 commit e719e24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public AddonLifecycleProviderEntry call() throws Exception
{
result = new AddonLifecycleProviderEntry(addon, provider);
}
if (ControlType.SELF.equals(controlType))
else if (ControlType.SELF.equals(controlType))
{
result = new AddonLifecycleProviderEntry(addon, provider);
}
Expand Down Expand Up @@ -292,7 +292,7 @@ private AddonLifecycleProviderEntry detectLifecycleProviderDependencies()
{
result = new AddonLifecycleProviderEntry(dependency, provider);
}
if (ControlType.DEPENDENTS.equals(provider.getControlType()))
else if (ControlType.DEPENDENTS.equals(provider.getControlType()))
{
result = new AddonLifecycleProviderEntry(dependency, provider);
}
Expand Down

0 comments on commit e719e24

Please sign in to comment.