]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/TestEmailReceiver.java
fix: typo in receive
[gigi.git] / tests / org / cacert / gigi / testUtils / TestEmailReceiver.java
index 007fec32a5a91c1a5aec4bdd5c4365b68f9dbb80..d7818312ec0a6829ec3c33a80fa355bbe8c03bce 100644 (file)
@@ -124,7 +124,7 @@ public final class TestEmailReceiver extends EmailProvider implements Runnable,
      * @see #destroy()
      */
     public void start() {
-        new Thread(this, "Mail reciever").start();
+        new Thread(this, "Mail receiver").start();
     }
 
     private LinkedBlockingQueue<TestMail> mails = new LinkedBlockingQueue<TestEmailReceiver.TestMail>();
@@ -144,10 +144,10 @@ public final class TestEmailReceiver extends EmailProvider implements Runnable,
             poll = mails.poll(60, TimeUnit.SECONDS);
 
         } catch (InterruptedException e) {
-            throw new AssertionError("Interrupted while recieving mails");
+            throw new AssertionError("Interrupted while receiving mails");
         }
         if (poll == null) {
-            throw new AssertionError("Mail recieving timed out");
+            throw new AssertionError("Mail receiving timed out");
         }
 
         return poll;