Use spaces, not tabs, in the Java and C# runtimes.

Add modelines to keep it that way.

Fix formatting, and english in comments.
This commit is contained in:
Zoltan Somogyi
2018-07-10 13:52:11 +02:00
parent d8fb7d15a8
commit 8e45a89895
64 changed files with 947 additions and 960 deletions

View File

@@ -1,3 +1,4 @@
// vim: ts=4 sw=4 expandtab ft=java
//
// Copyright (C) 2004 The University of Melbourne.
// Copyright (C) 2018 The Mercury team.
@@ -10,15 +11,13 @@ package jmercury.runtime;
// in runtime/mercury_typeclass_info.h.
public class TypeClassMethod implements java.io.Serializable {
public /* final */ java.lang.String tc_method_name;
public /* final */ int tc_method_arity;
public /* final */ int /* PredFunc */ tc_method_pred_func;
public /* final */ java.lang.String tc_method_name;
public /* final */ int tc_method_arity;
public /* final */ int /* PredFunc */ tc_method_pred_func;
public TypeClassMethod(java.lang.String name, int arity,
int pred_func)
{
tc_method_name = name;
tc_method_arity = arity;
tc_method_pred_func = pred_func;
}
public TypeClassMethod(java.lang.String name, int arity, int pred_func) {
tc_method_name = name;
tc_method_arity = arity;
tc_method_pred_func = pred_func;
}
}