摘要: 一、Remove '@Override' annotation错误导入新项目后可能出现Remove '@override' annotation的错误,原因是JDK1.6之前@Override只对super class起作用,但1.6之后增加了对interface的支持,所以如果导入的项目是基于jdk1.5的,可能就出现这个问题。解决办法:eclipse中的compiler都设置为jdk 1.6即可。①项目-properties-java compiler-选择为1.6②window-preferences-java-compiler-选择为1.6 阅读全文
posted @ 2013-04-09 23:05 鍒樻爧 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Perl's ucfirst() function takes a string, makes the first character uppercase, and then returns the new string. $myName = 'andrew'; $myUpperName = ucfirst($myName); First, $myName is set to a value of 'andrew', then the ucfirst() function is run on $myName. The ucfirst() function 阅读全文
posted @ 2013-04-09 14:14 鍒樻爧 阅读(263) 评论(0) 推荐(0) 编辑