]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ua/State.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.utils.thread / src / org / simantics / utils / threads / ua / State.java
index 66f7a853432e6b714096049039a76c96f9024906..f54917fd014ef57f48df6df783bceb5950af0703 100644 (file)
@@ -1,52 +1,52 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-\r
-package org.simantics.utils.threads.ua;\r
-\r
-/**\r
- *\r
- * \r
- * @author Toni Kalajainen (toni.kalajainen@vtt.fi)\r
- */\r
-public class State<StateType> extends AbstractState<StateType, RuntimeException> {\r
-\r
-       public State(StateType initialState) {\r
-               super(initialState);\r
-       }\r
-       \r
-       public boolean setState(StateType state) {\r
-               return super.setState(state);\r
-       }\r
-       \r
-       public StateType setState(StateType state, java.util.concurrent.Executor listenerExecutor, java.util.Set<StateType> prerequisiteStates) {\r
-               return super.setState(state, listenerExecutor, prerequisiteStates);\r
-       };\r
-       \r
-       public void setError(RuntimeException error) {\r
-               super.setError(error);\r
-       }\r
-       \r
-       public StateType attemptSetState(java.util.Set<StateType> prerequisiteState, StateType newState) {\r
-               return super.attemptSetState(prerequisiteState, newState);\r
-       }\r
-       \r
-       @Override\r
-       public void assertNoError() throws RuntimeException {\r
-               super.assertNoError();\r
-       }\r
-       \r
-       @Override\r
-       protected void clearError() {\r
-               super.clearError();\r
-       }\r
-\r
-}\r
+/*******************************************************************************
+ * 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.threads.ua;
+
+/**
+ *
+ * 
+ * @author Toni Kalajainen (toni.kalajainen@vtt.fi)
+ */
+public class State<StateType> extends AbstractState<StateType, RuntimeException> {
+
+       public State(StateType initialState) {
+               super(initialState);
+       }
+       
+       public boolean setState(StateType state) {
+               return super.setState(state);
+       }
+       
+       public StateType setState(StateType state, java.util.concurrent.Executor listenerExecutor, java.util.Set<StateType> prerequisiteStates) {
+               return super.setState(state, listenerExecutor, prerequisiteStates);
+       };
+       
+       public void setError(RuntimeException error) {
+               super.setError(error);
+       }
+       
+       public StateType attemptSetState(java.util.Set<StateType> prerequisiteState, StateType newState) {
+               return super.attemptSetState(prerequisiteState, newState);
+       }
+       
+       @Override
+       public void assertNoError() throws RuntimeException {
+               super.assertNoError();
+       }
+       
+       @Override
+       protected void clearError() {
+               super.clearError();
+       }
+
+}