X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fmethod%2FMethodTypeDefinition.java;h=6ed63f220d842732cd67e5ee34f4fa451087df66;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=124e9dcad3340d0006d35e3eae19155917b4a75d;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/method/MethodTypeDefinition.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/method/MethodTypeDefinition.java index 124e9dcad..6ed63f220 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/method/MethodTypeDefinition.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/method/MethodTypeDefinition.java @@ -1,27 +1,27 @@ -/******************************************************************************* - * 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 - *******************************************************************************/ +/******************************************************************************* + * 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; -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; +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 { - - public static Binding BINDING = Bindings.getBindingUnchecked( MethodTypeDefinition.class ); + + public static Binding BINDING = Bindings.getBindingUnchecked( MethodTypeDefinition.class ); String name; MethodType type; @@ -56,12 +56,12 @@ public class MethodTypeDefinition implements Comparable { Datatype res = type.getResponseType(); Datatype req = type.getRequestType(); UnionType err = (UnionType) type.getErrorType(); - - sb.append("method "); - sb.append(name); - sb.append(" : "); - sb.append(req.toSingleLineString()); - sb.append(" -> "); + + sb.append("method "); + sb.append(name); + sb.append(" : "); + sb.append(req.toSingleLineString()); + sb.append(" -> "); if (res.equals(void_)) sb.append("void");