- add suppress warnings for Spatial.getUserData()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7196 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
554a088ef1
commit
b24b3f78d4
@ -1157,6 +1157,7 @@ public abstract class Spatial implements Savable, Cloneable, Collidable {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> T getUserData(String key) {
|
||||
if (userData == null) {
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user