Changeset 3832


Ignore:
Timestamp:
07/08/2009 07:44:17 PM (5 years ago)
Author:
mosipov
Message:

ASSIGNED - #3911: Regression: Null value is transformed to null and not to an empty string

Location:
FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditor.java

    r3695 r3832  
    4343        private FCKeditorConfig fckConfig = new FCKeditorConfig(); 
    4444        private String instanceName; 
    45         private String value; 
    4645        private HttpServletRequest request; 
    4746 
    4847        // defaults 
     48        private String value = Utils.EMPTY_STRING; 
    4949        private String toolbarSet = PropertiesLoader.getEditorToolbarSet(); 
    5050        private String width = PropertiesLoader.getEditorWidth(); 
  • FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/tool/Utils.java

    r3595 r3832  
    3232public class Utils { 
    3333 
     34        /** The empty string {@code ""}. */ 
     35        public static final String EMPTY_STRING = ""; 
     36         
    3437        /** 
    3538         * Constructs a set of lower-cased strings from a delimiter-separated 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy