X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fadapter%2Fimpl%2FTypeSubgraphExtent.java;h=b78d82e6037d0560093a4157320417c9f21727ef;hb=3c524553c98b56075d854f355bc7bab2e3ae17f7;hp=cf35040cead9da547f82487e6f57feb67a83ac64;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/impl/TypeSubgraphExtent.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/impl/TypeSubgraphExtent.java index cf35040ce..b78d82e60 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/impl/TypeSubgraphExtent.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/adapter/impl/TypeSubgraphExtent.java @@ -1,32 +1,32 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.db.layer0.adapter.impl; - -import org.simantics.db.layer0.adapter.SubgraphExtent; - -abstract public class TypeSubgraphExtent implements SubgraphExtent { - - @Override - final public int hashCode() { - return getClass().hashCode(); - } - - @Override - final public boolean equals(Object object) { - if (this == object) - return true; - else if (object == null) - return false; - return getClass().equals(object.getClass()); - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.db.layer0.adapter.impl; + +import org.simantics.db.layer0.adapter.SubgraphExtent; + +abstract public class TypeSubgraphExtent implements SubgraphExtent { + + @Override + final public int hashCode() { + return getClass().hashCode(); + } + + @Override + final public boolean equals(Object object) { + if (this == object) + return true; + else if (object == null) + return false; + return getClass().equals(object.getClass()); + } + +}