Subversion Repositories SmartDukaan

Rev

Rev 14911 | Rev 16208 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14911 Rev 16092
Line 19... Line 19...
19
import java.text.ParseException;
19
import java.text.ParseException;
20
import java.util.ArrayList;
20
import java.util.ArrayList;
21
import java.util.Collections;
21
import java.util.Collections;
22
import java.util.List;
22
import java.util.List;
23
 
23
 
-
 
24
import org.apache.commons.lang.StringEscapeUtils;
24
import org.apache.thrift.TException;
25
import org.apache.thrift.TException;
25
 
26
 
26
/**
27
/**
27
 * @author mandeep
28
 * @author mandeep
28
 * 
29
 * 
Line 376... Line 377...
376
	}
377
	}
377
 
378
 
378
	public void setNotShowPmTickets(String notShowPmTickets) {
379
	public void setNotShowPmTickets(String notShowPmTickets) {
379
		this.notShowPmTickets = notShowPmTickets;
380
		this.notShowPmTickets = notShowPmTickets;
380
	}
381
	}
-
 
382
	
-
 
383
	public String safeHtml(String htmlString){
-
 
384
		try{
-
 
385
			return StringEscapeUtils.escapeHtml(htmlString);
-
 
386
		}catch (Exception e){
-
 
387
			return "This ticket need to be ignored";
-
 
388
		}
-
 
389
	}
381
}
390
}