org/sonews/mlgw/SMTPTransport.java
changeset 12 bb6990c0dd1a
parent 3 2fdc9cc89502
child 28 15d14b110240
     1.1 --- a/org/sonews/mlgw/SMTPTransport.java	Mon Aug 17 11:00:51 2009 +0200
     1.2 +++ b/org/sonews/mlgw/SMTPTransport.java	Thu Aug 20 14:31:19 2009 +0200
     1.3 @@ -84,6 +84,10 @@
     1.4    public void send(Article article, String mailFrom, String rcptTo)
     1.5      throws IOException
     1.6    {
     1.7 +    assert(article != null);
     1.8 +    assert(mailFrom != null);
     1.9 +    assert(rcptTo != null);
    1.10 +
    1.11      this.out.println("MAIL FROM: " + mailFrom);
    1.12      this.out.flush();
    1.13      String line = this.in.readLine();