【This field BeanName.xxx is never read locally】
来源:互联网 发布:车英制螺纹编程实例 编辑:程序博客网 时间:2024/05/22 01:53
问题消息 This field BeanName.xxx is never read locally【BeanName.java】private String place_of_delivery_cd;public void setPlace_of_delivery(String place_of_delivery) {this.place_of_delivery = place_of_delivery;}public String getPlace_of_delivery_cd() {// TODO Auto-generated method stubreturn null;}【说明】 今天 遇到一个问题,以前没遇到过。 Eclipse 自动生成get/set方法时,get方法生成了一半,返回了个 null,此时,在变量定义处会有一个黄色惊叹灯泡的提示标记, 如果你的程序用到get方法时,是不能正常使用的。【变更】 返回变量名即可。 return null; --> return place_of_delivery_cd;
- 【This field BeanName.xxx is never read locally】
- Analyze提示:Value stored to "xxx"is never read
- Value stored '**' is never read
- Class "xxx" is never used
- The local variable XXXX is never read
- during its initialization is never read
- stored to '*' during its initialization is never read
- stored to '*' during its initialization is never read
- Value stored to 'myKeyArray' during its initialization is never read
- "Value stored to '***' during its initialization is never read"
- Analyze提示:Value stored to "***"is never read
- Value stored to 'recordView' during its initialization is never read
- Value stored to '*' during its initaliztion is never read
- java出现Resource leak: 'XXX' is never closed 解决方案
- Timezone database is corrupt -this should *never* happen解决方法
- APXTADTC - Tax Authority Field is Required Although Option "Create Withholding Invoice" is Never
- plugin “XXX”is incompatible with this installation
- R.xxx cannot be resolved or is not a field
- 习题 28:万年历★
- 读《Information Extraction:A Survey》(1)
- VC Office2007界面对话框实现
- WINDOWS MOBILE编辑控件的使用技巧
- hibernate主键生成策略(1)
- 【This field BeanName.xxx is never read locally】
- MFC中双缓冲画图
- hibernate主键生成策略(2)
- VC++获取窗口句柄(mobile)
- 算法导论学习笔记-第十四章-数据结构的扩张
- 使用crossdomain.xml让Flash可以跨域传输数据
- 误删 libc.so.6的解决方法
- MFC中替换指定的字符串
- [转]使用 VS2010 在 SQL 2008 R2 上进行应用开发