org/sonews/mlgw/SMTPTransport.java
changeset 23 e4345a26f81f
parent 3 2fdc9cc89502
child 28 15d14b110240
     1.1 --- a/org/sonews/mlgw/SMTPTransport.java	Wed Jul 22 14:04:05 2009 +0200
     1.2 +++ b/org/sonews/mlgw/SMTPTransport.java	Wed Aug 26 10:55:59 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();