kuter007 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

Noticed this when compiling the SRC #690

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Note: 
D:\Github\iBotPeaches\Apktool\brut.j.util\src\main\java\brut\util\Duo.java uses 
unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

I do not know if this is of any importance of any kind but thought to report

Original issue reported on code.google.com by raziel...@gmail.com on 25 Oct 2014 at 1:21

GoogleCodeExporter commented 9 years ago
Its a valid unchecked error, but that's the nature of the Duo.

It takes whatever object we give it and compares it to other (hint Duo). Since 
we don't know what the object will be, since its used in multiple places in the 
codebase we can't typecast its type. Thus it has those errors.

This may be a problem if Apktool was an open API where we didn't control what 
came in, but we control what is used in the Duo's so its okay.

Original comment by connor.tumbleson on 25 Oct 2014 at 8:55