]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/utils/MethodSizeCounter.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / codegen / utils / MethodSizeCounter.java
index 3db4183dfdac5bae45b48694f3371f9fc0aa5a86..a18369c35e6aec304af445f79c61620f95be89df 100644 (file)
@@ -1,23 +1,23 @@
-package org.simantics.scl.compiler.internal.codegen.utils;\r
-\r
-public class MethodSizeCounter {\r
-    public String maxMethodName;\r
-    public int methodSizeLower;\r
-    public int methodSizeUpper;\r
-    \r
-    public void update(String methodName, int lower, int upper) {\r
-        if(upper > methodSizeUpper) {\r
-            maxMethodName = methodName;\r
-            methodSizeLower = lower;\r
-            methodSizeUpper = upper;\r
-        }\r
-    }\r
-    \r
-    @Override\r
-    public String toString() {\r
-        if(methodSizeLower == methodSizeUpper)\r
-            return maxMethodName + " " + methodSizeLower;\r
-        else\r
-            return maxMethodName + " [" + methodSizeLower + "," + methodSizeUpper + "]";\r
-    }\r
-}\r
+package org.simantics.scl.compiler.internal.codegen.utils;
+
+public class MethodSizeCounter {
+    public String maxMethodName;
+    public int methodSizeLower;
+    public int methodSizeUpper;
+    
+    public void update(String methodName, int lower, int upper) {
+        if(upper > methodSizeUpper) {
+            maxMethodName = methodName;
+            methodSizeLower = lower;
+            methodSizeUpper = upper;
+        }
+    }
+    
+    @Override
+    public String toString() {
+        if(methodSizeLower == methodSizeUpper)
+            return maxMethodName + " " + methodSizeLower;
+        else
+            return maxMethodName + " [" + methodSizeLower + "," + methodSizeUpper + "]";
+    }
+}