mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +00:00
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:
@@ -1,3 +1,4 @@
|
||||
// vim: ts=4 sw=4 expandtab ft=java
|
||||
//
|
||||
// Copyright (C) 2014, 2018 The Mercury Team
|
||||
// This file is distributed under the terms specified in COPYING.LIB.
|
||||
@@ -10,7 +11,7 @@ package jmercury.runtime;
|
||||
*/
|
||||
public abstract class MercuryThread extends Thread
|
||||
{
|
||||
private int id;
|
||||
private int id;
|
||||
|
||||
/**
|
||||
* Construct a new MercuryThread with the given ID.
|
||||
@@ -34,8 +35,7 @@ public abstract class MercuryThread extends Thread
|
||||
public abstract void running();
|
||||
|
||||
/**
|
||||
* If the current thread is a MercuryThread then return a reference to
|
||||
* it.
|
||||
* If the current thread is a MercuryThread then return a reference to it.
|
||||
*/
|
||||
public static MercuryThread currentThread()
|
||||
{
|
||||
@@ -50,4 +50,3 @@ public abstract class MercuryThread extends Thread
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user