如何禁用派生IMarketBillingService.java文件日食的警告? [英] How do I disable an eclipse warning in the derived IMarketBillingService.java file?

查看:315
本文介绍了如何禁用派生IMarketBillingService.java文件日食的警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们, 我的Andr​​oid应用程序,presently有1个警告,在IMarketBillingService.java文件,它是在应用程序内购买code。通过谷歌提供的新的组成部分的80行。警告内容如下:

Folks, I have android application that presently has 1 warning, in line 80 of the IMarketBillingService.java file that is part of the in-app purchasing code newly supplied by Google. The warning reads:

该方法getInterfaceDescriptor()从类型IMarketBillingService.Stub.Proxy从未在本地使用

The method getInterfaceDescriptor() from the type IMarketBillingService.Stub.Proxy is never used locally

这文件是派生文件,不得进行编辑。

This file is a derived file and may not be edited.

我意识到,我可能会忽略此警告;不过,我想有我的项目是零错误和警告。我觉得这是一个有用的原则,尤其是在分布式团队工作时。

I realize that I may ignore this warning; however, I like to have my projects have zero errors and warnings. I find this is a helpful principle, especially when working with distributed teams.

有人可以告诉我如何让Eclipse禁用/忽略此警告?

Can someone tell me how to have eclipse disable/ignore this warning?

感谢。

推荐答案

从这个警告我认为,该方法是一个私有方法,对吗?如果你不能编辑文件,这意味着你可以不加@燮pressWarnings指令,我不认为你可以禁用这个。

From this warning I assume that the method is a private method, right? if you can't edit the file, meaning you can't add @SuppressWarnings directive, I don't think you can disable this one.

(您可以更改在Eclipse中警告设置,但我不认为你想要的:))

(You can change the warnings settings in eclipse, but I don't think you want that :) )

这篇关于如何禁用派生IMarketBillingService.java文件日食的警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆