Changes between Version 5 and Version 6 of codekata/refactor
- Timestamp:
- 11/06/2013 05:04:55 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
codekata/refactor
v5 v6 65 65 return (null == text || "".equals(text)); 66 66 } 67 }}}[[BR]]68 69 67 70 68 活动开始前,咱们组的陈阳童鞋一马当先,只管抢占键盘,是的,他只用键盘,就已经将需要重构的方法提炼出来,完全忽略鼠标,看得我眼睛一眨一眨的,[[BR]] … … 268 266 public static boolean isEmpty(String text){ 269 267 return (null == text || "".equals(text)); 270 } 271 268 } 272 269 273 270 /** … … 309 306 // } 310 307 311 return MessageFormat.format(Tpl.TOPIC_URL, String.valueOf(topic.getTid())); 312 313 314 315 } 316 317 308 return MessageFormat.format(Tpl.TOPIC_URL, String.valueOf(topic.getTid())); 309 } 310 318 311 /** 319 312 * 帖子URL静态化 … … 423 416 } 424 417 } 425 }}}[[BR]]426 418 这期的代码道场就先介绍到这里,当然,有很多细节我都没写上,希望后来看到这文章的童鞋要留下你来过的足迹,将细节补上。[[BR]] 427 419 当然,还差总结呢,这次代码道场,因为选的题目是与工作有紧密联系的,所以大伙们的情绪都比较高涨,讨论过程也比较激烈,[[BR]]
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)