X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fannotations%2FOptionalImpl.java;fp=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fannotations%2FOptionalImpl.java;h=5392519e1051974221c510116f7bc7136a2a62b7;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=771edb6f3f8da0440210078d2eb74628e3319a63;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/annotations/OptionalImpl.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/annotations/OptionalImpl.java index 771edb6f3..5392519e1 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/annotations/OptionalImpl.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/annotations/OptionalImpl.java @@ -1,33 +1,33 @@ -/******************************************************************************* - * Copyright (c) 2007, 2011 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.databoard.annotations; - -import java.lang.annotation.Annotation; - -public class OptionalImpl implements Optional { - - @Override - public Class annotationType() { - return Optional.class; - } - - @Override - public boolean equals(Object obj) { - return obj instanceof Optional; - } - - @Override - public int hashCode() { - return Optional.class.hashCode(); - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2011 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.databoard.annotations; + +import java.lang.annotation.Annotation; + +public class OptionalImpl implements Optional { + + @Override + public Class annotationType() { + return Optional.class; + } + + @Override + public boolean equals(Object obj) { + return obj instanceof Optional; + } + + @Override + public int hashCode() { + return Optional.class.hashCode(); + } + +}