如何禁用派生IMarketBillingService.java文件日食的警告?日食、文件、IMarketBillingService、java

2023-09-05 05:27:47 作者:混世大魔王

伙计们, 我的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 :) )

 
精彩推荐
图片推荐