[反例]超短代码,意义不明

	public String logout(HttpServletRequest request, HttpServletResponse response) throws Exception {
		String ticket = getTicket(request);
		if (ticket == null || ticket.equals("")) {
			return "success";
		}
		setCookie(response, "", -1);
		setSecure(response, "", -1);
		return "success";
	}


这种代码短到吐血
但可看价值真的不高

你可能感兴趣的:(代码)