]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/method/MethodTypeDefinition.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / method / MethodTypeDefinition.java
index 124e9dcad3340d0006d35e3eae19155917b4a75d..6ed63f220d842732cd67e5ee34f4fa451087df66 100644 (file)
@@ -1,27 +1,27 @@
-/*******************************************************************************\r
- *  Copyright (c) 2010 Association for Decentralized Information Management in\r
- *  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
+/*******************************************************************************
+ *  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.method;
 
-import org.simantics.databoard.Bindings;\r
-import org.simantics.databoard.Datatypes;\r
-import org.simantics.databoard.binding.Binding;\r
-import org.simantics.databoard.type.Component;\r
-import org.simantics.databoard.type.Datatype;\r
-import org.simantics.databoard.type.UnionType;\r
+import org.simantics.databoard.Bindings;
+import org.simantics.databoard.Datatypes;
+import org.simantics.databoard.binding.Binding;
+import org.simantics.databoard.type.Component;
+import org.simantics.databoard.type.Datatype;
+import org.simantics.databoard.type.UnionType;
 
 
 public class MethodTypeDefinition implements Comparable<MethodTypeDefinition> {
-\r
-       public static Binding BINDING = Bindings.getBindingUnchecked( MethodTypeDefinition.class );\r
+
+       public static Binding BINDING = Bindings.getBindingUnchecked( MethodTypeDefinition.class );
        
        String name;
        MethodType type;
@@ -56,12 +56,12 @@ public class MethodTypeDefinition implements Comparable<MethodTypeDefinition> {
                Datatype res = type.getResponseType();
                Datatype req = type.getRequestType();
                UnionType err = (UnionType) type.getErrorType();
-\r
-               sb.append("method ");\r
-               sb.append(name);\r
-               sb.append(" : ");\r
-               sb.append(req.toSingleLineString());\r
-               sb.append(" -> ");\r
+
+               sb.append("method ");
+               sb.append(name);
+               sb.append(" : ");
+               sb.append(req.toSingleLineString());
+               sb.append(" -> ");
                
                if (res.equals(void_))
                        sb.append("void");