import org.biojava.dasobert.dasregistry.*;
-public class Das2SourceImpl
- extends Das1Source implements Das2Source
+public class Das2SourceImpl extends Das1Source implements Das2Source
{
capabilities = new Das2Capability[0];
}
- /** compare if two DasSources are identical
- *
+ /**
+ * compare if two DasSources are identical
+ *
*/
public boolean equals(DasSource other)
{
return true;
}
- if ( (other == null) || (other.getClass() != this.getClass()))
+ if ((other == null) || (other.getClass() != this.getClass()))
{
return false;
}
// to compare if two Das2Sources are identical we do the following:
- // we check the capabilities
+ // we check the capabilities
Das2SourceImpl d2o = (Das2SourceImpl) other;
Das2Capability[] othercaps = d2o.getDas2Capabilities();
- if (! (capabilities.length == othercaps.length))
+ if (!(capabilities.length == othercaps.length))
{
return false;
}
}
}
- //TODO?
+ // TODO?
// should we add a check for coordinate systems?
// but we already check for the endpoints, that should be enough...
public String[] getCapabilities()
{
- //todo mark as not needed / not appropriate ...
+ // todo mark as not needed / not appropriate ...
return super.getCapabilities();
}