]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram.connection/src/org/simantics/diagram/connection/segments/Segment.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.diagram.connection / src / org / simantics / diagram / connection / segments / Segment.java
index 4e8792ffa3ea6b738e42962418226f39a62a8bfa..b283cb4ed283e3cacda7abbff892a72cf3585f8b 100644 (file)
@@ -1,31 +1,31 @@
-/*******************************************************************************\r
- * Copyright (c) 2013 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
-package org.simantics.diagram.connection.segments;\r
-\r
-import org.simantics.diagram.connection.RoutePoint;\r
-\r
-/**\r
- * @author Hannu Niemistö\r
- */\r
-public class Segment {\r
-    public final RoutePoint p1;\r
-    public final RoutePoint p2;\r
-    \r
-    public Segment(RoutePoint p1, RoutePoint p2) {\r
-        this.p1 = p1;\r
-        this.p2 = p2;\r
-    }\r
-\r
-    public boolean isDegenerated() {\r
-        return p1.getX() == p2.getX() && p1.getY() == p2.getY();\r
-    }\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2013 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.diagram.connection.segments;
+
+import org.simantics.diagram.connection.RoutePoint;
+
+/**
+ * @author Hannu Niemistö
+ */
+public class Segment {
+    public final RoutePoint p1;
+    public final RoutePoint p2;
+    
+    public Segment(RoutePoint p1, RoutePoint p2) {
+        this.p1 = p1;
+        this.p2 = p2;
+    }
+
+    public boolean isDegenerated() {
+        return p1.getX() == p2.getX() && p1.getY() == p2.getY();
+    }
+}