Ignore:
Timestamp:
01/31/13 17:36:25 (12 years ago)
Author:
pharms
Message:
  • replaced call to apache commons to call usually used in AutoQUEST
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-jfcmonitor/src/main/java/de/ugoe/cs/autoquest/jfcmonitor/JFCComponent.java

    r1046 r1048  
    3131import javax.accessibility.AccessibleContext; 
    3232 
    33 import org.apache.commons.lang.StringEscapeUtils; 
    34  
    3533import de.ugoe.cs.util.StringTools; 
    3634 
     
    294292        builder.append(Integer.toHexString(component.hashCode()) + "\" >" + StringTools.ENDLINE); 
    295293        // title might contain html-Tags (e.g. in ArgoUML) --> must be escaped 
    296         builder.append(" <param name=\"title\" value=\"" + StringEscapeUtils.escapeXml(title) + "\" />" + StringTools.ENDLINE); 
     294        builder.append(" <param name=\"title\" value=\"" + StringTools.xmlEntityReplacement(title) + "\" />" + StringTools.ENDLINE); 
    297295        builder.append(" <param name=\"class\" value=\"" + componentClass + "\" />" + 
    298296            StringTools.ENDLINE); 
Note: See TracChangeset for help on using the changeset viewer.