![]() | Webview warning |
|
19 Dec 2010, 20:18
Dave Murray (28 posts) |
The app works fine, both in emulator and my Droid. Clean gives the following warning: Description Resource Path Location Type I have an aversion to ignoring warnings since they are generally telling you that there is a bug waiting to walk out from under the carpet. Did I do something wrong or is this an expected warning? If expected, is there something that can be done to tell the compiler that it is known to be OK and suppress the warning? |
|
19 Dec 2010, 21:10
Dave Murray (28 posts) |
More warnings from “Translate” which also works: AdapterView is a raw type. References to generic type AdapterView should be parameterized Translate.java /Translate/src/org/example/translate line 97 Java Problem |
|
20 Dec 2010, 15:59
Ed Burnette (1316 posts) |
They are expected. You’re getting warnings in Translate.java because you have generic type checking enabled. You could do the hover-and-fix method which would insert a bunch of ugly “ |
|
20 Dec 2010, 16:10
Dave Murray (28 posts) |
Thank you. Experience has taught me to set warning levels to see them all and purposefully shut off the ones that I know are OK. I don’t think that they should be ignored outright but once I know that they are OK, I don’t want to see them any more. |
|
25 Dec 2010, 17:58
Ed Burnette (1316 posts) |
Sounds like good advice. |
| You must be logged in to comment |

