Project

General

Profile

« Previous | Next » 

Revision 521a868a

Added by Andreas Kohlbecker almost 6 years ago

consistent initialization of TextFieldNFix

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/component/TextFieldNFix.java
36 36
     */
37 37
    public TextFieldNFix(String format) {
38 38
        super(format);
39
        init();
39 40
    }
40 41

  
41 42

  
......
45 46
     */
46 47
    public TextFieldNFix() {
47 48
        super();
48
        setNullSettingAllowed(true);
49
        init();
49 50
    }
50 51

  
51 52

  
......
55 56
     */
56 57
    public TextFieldNFix(Property dataSource) {
57 58
        super(dataSource);
59
        init();
58 60
    }
59 61

  
60 62

  
......
65 67
     */
66 68
    public TextFieldNFix(String caption, Property dataSource) {
67 69
        super(caption, dataSource);
70
        init();
68 71
    }
69 72

  
70 73

  
......
75 78
     */
76 79
    public TextFieldNFix(String caption, String value) {
77 80
        super(caption, value);
78
        // TODO Auto-generated constructor stub
81
        init();
82
    }
83

  
84

  
85

  
86
    /**
87
     *
88
     */
89
    protected void init() {
90
        setNullSettingAllowed(true);
79 91
    }
80 92

  
81 93

  

Also available in: Unified diff