aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/Timer.java
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@gcc.gnu.org>2001-10-31 00:48:17 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-10-31 00:48:17 +0000
commit18e1f2bd67da8877099783f42634d8692bd80ec9 (patch)
tree5308302766b87f978a067f91b79c6b91b4198025 /libjava/java/util/Timer.java
parentffc5527fa5cbb518a4bc564b87b8376f5206787f (diff)
downloadgcc-18e1f2bd67da8877099783f42634d8692bd80ec9.zip
gcc-18e1f2bd67da8877099783f42634d8692bd80ec9.tar.gz
gcc-18e1f2bd67da8877099783f42634d8692bd80ec9.tar.bz2
HACKING, [...]: Fix spelling errors.
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java, gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java, java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java, java/io/CharConversionException.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/WriteAbortedException.java, java/io/natFileWin32.cc, java/lang/Class.h, java/lang/natClassLoader.cc, java/lang/natObject.cc, java/lang/Package.java, java/net/BindException.java, java/net/ConnectException.java, java/net/ProtocolException.java, java/net/SocketException.java, java/net/UnknownServiceException.java, java/security/cert/X509Certificate.java, java/security/interfaces/DSAKey.java, java/security/SecureRandom.java, java/security/SignedObject.java, java/sql/DatabaseMetaData.java, java/text/DecimalFormatSymbols.java, java/util/jar/Attributes.java, java/util/jar/JarEntry.java, java/util/jar/JarInputStream.java, java/util/jar/JarOutputStream.java, java/util/Calendar.java, java/util/Collections.java, java/util/GregorianCalendar.java, java/util/HashMap.java, java/util/List.java, java/util/Properties.java, java/util/Timer.java, java/util/Vector.java, java/util/WeakHashMap.java, javax/naming/NamingException.java, testsuite/libjava.lang/Thread_Wait.java, org/xml/sax/helpers/DefaultHandler.java, org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java, ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix spelling errors. * configure: Regenerate. From-SVN: r46665
Diffstat (limited to 'libjava/java/util/Timer.java')
-rw-r--r--libjava/java/util/Timer.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/util/Timer.java b/libjava/java/util/Timer.java
index d00c937..32c0bea 100644
--- a/libjava/java/util/Timer.java
+++ b/libjava/java/util/Timer.java
@@ -39,8 +39,8 @@ package java.util;
* scheduling guarantees more or less that the task will be executed at a
* specific time, but if there is ever a delay in execution then the period
* between successive executions will be shorter. The first method of
- * repeated scheduling is prefered for repeated tasks in response to user
- * interaction, the second method of repeated scheduling is prefered for tasks
+ * repeated scheduling is preferred for repeated tasks in response to user
+ * interaction, the second method of repeated scheduling is preferred for tasks
* that act like alarms.
* <p>
* The Timer keeps a binary heap as a task priority queue which means that
@@ -65,7 +65,7 @@ public class Timer
/** Default size of this queue */
private final int DEFAULT_SIZE = 32;
- /** Wheter to return null when there is nothing in the queue */
+ /** Whether to return null when there is nothing in the queue */
private boolean nullOnEmpty;
/**
@@ -375,7 +375,7 @@ public class Timer
private boolean canceled;
/**
- * Creates a new Timer with a non deamon Thread as Scheduler, with normal
+ * Creates a new Timer with a non daemon Thread as Scheduler, with normal
* priority and a default name.
*/
public Timer()
@@ -384,7 +384,7 @@ public class Timer
}
/**
- * Creates a new Timer with a deamon Thread as scheduler if deamon is true,
+ * Creates a new Timer with a daemon Thread as scheduler if daemon is true,
* with normal priority and a default name.
*/
public Timer(boolean daemon)
@@ -393,7 +393,7 @@ public class Timer
}
/**
- * Creates a new Timer with a deamon Thread as scheduler if deamon is true,
+ * Creates a new Timer with a daemon Thread as scheduler if daemon is true,
* with the priority given and a default name.
*/
private Timer(boolean daemon, int priority)
@@ -402,7 +402,7 @@ public class Timer
}
/**
- * Creates a new Timer with a deamon Thread as scheduler if deamon is true,
+ * Creates a new Timer with a daemon Thread as scheduler if daemon is true,
* with the priority and name given.E
*/
private Timer(boolean daemon, int priority, String name)