mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
bf034bfc41
commit
d4dea10ec0
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ public abstract class CompositeIndexBinding implements IIndexBinding {
|
||||||
protected final IIndexFragmentBinding rbinding;
|
protected final IIndexFragmentBinding rbinding;
|
||||||
|
|
||||||
public CompositeIndexBinding(ICompositesFactory cf, IIndexFragmentBinding rbinding) {
|
public CompositeIndexBinding(ICompositesFactory cf, IIndexFragmentBinding rbinding) {
|
||||||
if(rbinding == null || cf == null)
|
if (rbinding == null || cf == null)
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException();
|
||||||
this.cf = cf;
|
this.cf = cf;
|
||||||
this.rbinding = rbinding;
|
this.rbinding = rbinding;
|
||||||
|
@ -102,7 +102,7 @@ public abstract class CompositeIndexBinding implements IIndexBinding {
|
||||||
if (obj instanceof IIndexFragmentBinding)
|
if (obj instanceof IIndexFragmentBinding)
|
||||||
return rbinding.equals(obj);
|
return rbinding.equals(obj);
|
||||||
if (obj instanceof CompositeIndexBinding)
|
if (obj instanceof CompositeIndexBinding)
|
||||||
return rbinding.equals(((CompositeIndexBinding)obj).rbinding);
|
return rbinding.equals(((CompositeIndexBinding) obj).rbinding);
|
||||||
|
|
||||||
return super.equals(obj);
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue