Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Testmove"

Line 4: Line 4:
 
New edit waiting 4:04pm 04/15/10
 
New edit waiting 4:04pm 04/15/10
 
New edit started 2:39pm 04/20/10 finished 3:17pm
 
New edit started 2:39pm 04/20/10 finished 3:17pm
 +
new edit started 3:18pm 04/20/10 finishing 4:17pm
  
  

Revision as of 16:17, 20 April 2010

Eidt start 1:15pm 04/15/10 Edit started 3:33pm 04/15/10 Last Edit saved 4:03pm 04/15/10 New edit waiting 4:04pm 04/15/10 New edit started 2:39pm 04/20/10 finished 3:17pm new edit started 3:18pm 04/20/10 finishing 4:17pm


ish fish fish

test spacing insert report next line
blah blah blah hi there! testing writing waiting for timeout 2 minutes

public class StopWatch implements Runnable {

        /** Current time value */
        private int time = 0;

        /** Flag that indicates if the watch is running */
        private boolean running;

        /** Flag that indicates if there is a stop request */
        private boolean stopRequest;

        /** Increases the time value. */
        private synchronized void advance() {
                time++;
        }

        /** Starts the watch thread. */
        public synchronized void start() {
                if (!running) {
                        setRunning(true);
                        setStopped(false);
                        (new Thread(this)).start();
                }
        }

        /** Stops the watch thread. */
        public synchronized void stop() {
                setStopped(true);
        }

        /** Resets the time value. */
        public synchronized void reset() {
                time = 0;
        }

        /** Returns the current time value. */
        public synchronized int getValue() {
                return time;
        }

        /** Sets the running flag value. */
        private synchronized void setRunning(boolean value) {
                running = value;
        }

        /** Returns the stop flag value */
        private synchronized boolean isStopped() {
                return stopRequest;
        }

        /** Sets the stop flag value */
        private synchronized void setStopped(boolean value) {
                stopRequest = value;
        }

        /** This method contains the main loop that is executed while the watch is running. */
        public void run() {
                while (true) {
                        try {
                                Thread.sleep(1000);
                        } catch (InterruptedException e) {
                                setRunning(false);
                                return;
                        }
                        if (isStopped()) {
                                setRunning(false);
                                return;
                        }
                        advance();
                }
        }
}


no disconnect after save

    class myfirstjavaprog
{  
        public static void main(String args[])
        {
           System.out.println("Hello World!");
        }
}


kutakutaさん、かしはらさん 山本です。

翻訳提案ありがとうございます。レビューが遅くなってすみません。

レビュー内容を以下に記述します。今後、翻訳される方の参考になるよう、 できるだけ修正理由を明確に記述してみました。このため、指摘が 細かくなっている点、ご了承下さい。

また、レビュー内容に不明点や誤りなどあれば、ご指摘願います。


●全般 ・明らかにコピペのミスと思われる箇所があります。このような ケアレスミスをさけるためにも、自己レビューを強くお勧めします。 レビュー観点として、以下の翻訳ルールが参考になります。

翻訳ルール


How about some Chinese: 更新安装代理数字签名


  1. French: S'il vous plaît Bonne journée à l'aide français
  2. German: Ich möchte das bitte schön Ich heiße Hans
  3. Italian: Mi scusiScusa desolato Perché ʤallo
  4. Spanish: Español ¿Cuándo Dónde está el baño
  5. Brazilian Portuguese: metrô locatário arrendatário râguebi
  6. Japanese: 日本語 口語日本文法便覧 日本語の敬語
  7. Korean: 한국어/조선말 『朝鮮語を学ぼう』 문화주택 고마와요 고마워요
  8. Simplified Chinese: 简体字 对观风 洁邻极 广宁灭 泪网杰
  9. Traditional Chinese: 繁體字/正體字 對觀風 潔鄰極 廣寧滅 體塵竃

Back to the top