]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils.datastructures/src/org/simantics/utils/datastructures/Callables.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.utils.datastructures / src / org / simantics / utils / datastructures / Callables.java
index ebf4f485ae3576a1e3f3ab5acb1942f0bf76f96c..519bd0ecb8ddc4f0a8a2b2a52510d11071efd446 100644 (file)
@@ -1,42 +1,42 @@
-/*******************************************************************************\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
-package org.simantics.utils.datastructures;\r
-\r
-/**\r
- * @author Tuukka Lehtonen\r
- */\r
-public final class Callables {\r
-\r
-    public static class Static<T> implements Callable<T> {\r
-\r
-        private final T t;\r
-\r
-        public static <T> Static<T> make(T t) {\r
-            return new Static<T>(t);\r
-        }\r
-\r
-        private Static(T t) {\r
-            this.t = t;\r
-        }\r
-\r
-        @Override\r
-        public T call() {\r
-            return t;\r
-        }\r
-\r
-    }\r
-\r
-    public static final Callable<Boolean> TRUE  = Static.make(Boolean.TRUE);\r
-\r
-    public static final Callable<Boolean> FALSE = Static.make(Boolean.FALSE);\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.datastructures;
+
+/**
+ * @author Tuukka Lehtonen
+ */
+public final class Callables {
+
+    public static class Static<T> implements Callable<T> {
+
+        private final T t;
+
+        public static <T> Static<T> make(T t) {
+            return new Static<T>(t);
+        }
+
+        private Static(T t) {
+            this.t = t;
+        }
+
+        @Override
+        public T call() {
+            return t;
+        }
+
+    }
+
+    public static final Callable<Boolean> TRUE  = Static.make(Boolean.TRUE);
+
+    public static final Callable<Boolean> FALSE = Static.make(Boolean.FALSE);
+
+}