X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.utils.datastructures%2Fsrc%2Forg%2Fsimantics%2Futils%2Fdatastructures%2FImmutableIterator.java;fp=bundles%2Forg.simantics.utils.datastructures%2Fsrc%2Forg%2Fsimantics%2Futils%2Fdatastructures%2FImmutableIterator.java;h=278ccce626e9e6ee7d90cf29b8d5a4fbb92f460a;hp=f5f6fe893c523f73868d5ff9aa1ae5fbb4e91c6f;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/ImmutableIterator.java b/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/ImmutableIterator.java index f5f6fe893..278ccce62 100644 --- a/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/ImmutableIterator.java +++ b/bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/ImmutableIterator.java @@ -1,23 +1,23 @@ -/******************************************************************************* - * 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.utils.datastructures; - -import java.util.Iterator; - -public abstract class ImmutableIterator implements Iterator { - - @Override - public void remove() { - throw new UnsupportedOperationException(); - } - -} +/******************************************************************************* + * 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.utils.datastructures; + +import java.util.Iterator; + +public abstract class ImmutableIterator implements Iterator { + + @Override + public void remove() { + throw new UnsupportedOperationException(); + } + +}