X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Faccessor%2FCloseableAccessor.java;h=bcdeadd34ebea17feea20faf76c843c6b9462ca5;hb=dac7a40d1cf85956aeac63ccbdf5b7a0d9977ac3;hp=39fd9a5cc89e63148b5dd56cb27a020f00d74087;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/CloseableAccessor.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/CloseableAccessor.java index 39fd9a5cc..bcdeadd34 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/CloseableAccessor.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/CloseableAccessor.java @@ -1,31 +1,31 @@ -/******************************************************************************* - * Copyright (c) 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.databoard.accessor; - -import org.simantics.databoard.accessor.error.AccessorException; - -/** - * Some accessor implementations may need close. Those implement this interface. - * - * @author Toni Kalajainen - */ -public interface CloseableAccessor { - - /** - * Close the backend object. If the object is already closed there is no error. - * - * @throws AccessorException - */ - void close() throws AccessorException; - -} - +/******************************************************************************* + * Copyright (c) 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.databoard.accessor; + +import org.simantics.databoard.accessor.error.AccessorException; + +/** + * Some accessor implementations may need close. Those implement this interface. + * + * @author Toni Kalajainen + */ +public interface CloseableAccessor { + + /** + * Close the backend object. If the object is already closed there is no error. + * + * @throws AccessorException + */ + void close() throws AccessorException; + +} +