Browse Source

BoundingSphere: remove useless null check

shadowislord 10 years ago
parent
commit
f0fbdffb85
1 changed files with 1 additions and 2 deletions
  1. 1 2
      jme3-core/src/main/java/com/jme3/bounding/BoundingSphere.java

+ 1 - 2
jme3-core/src/main/java/com/jme3/bounding/BoundingSphere.java

@@ -640,8 +640,7 @@ public class BoundingSphere extends BoundingVolume {
             return rVal;
         }
 
-        return new BoundingSphere(radius,
-                (center != null ? (Vector3f) center.clone() : null));
+        return new BoundingSphere(radius, center.clone());
     }
 
     /**