Drobnosti a serializace
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 28 Feb 2009 18:06:12 +0100
changeset 4dfb345ef9452
parent 3 03d27d3b3f7b
child 5 bea5d9e11d37
Drobnosti a serializace
java/Postak/src/cz/frantovo/postak/InternetAddressKomu.java
java/Postak/src/cz/frantovo/postak/Nastaveni.java
     1.1 --- a/java/Postak/src/cz/frantovo/postak/InternetAddressKomu.java	Sat Feb 28 17:57:14 2009 +0100
     1.2 +++ b/java/Postak/src/cz/frantovo/postak/InternetAddressKomu.java	Sat Feb 28 18:06:12 2009 +0100
     1.3 @@ -9,6 +9,7 @@
     1.4   * @author fiki
     1.5   */
     1.6  public class InternetAddressKomu extends InternetAddress {
     1.7 +    private static final long serialVersionUID = 5616579686371892208L;
     1.8  
     1.9      private RecipientType typ = RecipientType.BCC;
    1.10  
     2.1 --- a/java/Postak/src/cz/frantovo/postak/Nastaveni.java	Sat Feb 28 17:57:14 2009 +0100
     2.2 +++ b/java/Postak/src/cz/frantovo/postak/Nastaveni.java	Sat Feb 28 18:06:12 2009 +0100
     2.3 @@ -1,17 +1,14 @@
     2.4 -/*
     2.5 - * To change this template, choose Tools | Templates
     2.6 - * and open the template in the editor.
     2.7 - */
     2.8 -
     2.9  package cz.frantovo.postak;
    2.10  
    2.11 +import java.io.Serializable;
    2.12  import java.util.ArrayList;
    2.13  
    2.14  /**
    2.15   *
    2.16   * @author fiki
    2.17   */
    2.18 -public class Nastaveni {
    2.19 +public class Nastaveni implements Serializable {
    2.20 +    private static final long serialVersionUID = -3155540704924123097L;
    2.21      
    2.22      private String postovniServer = "localhost";
    2.23      private int postovniPort = 25;