diff options
author | Julien Gouesse <[email protected]> | 2023-02-15 23:08:25 +0100 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2023-02-15 23:08:25 +0100 |
commit | aa6df077361bf1470d3799514f5774951025bed4 (patch) | |
tree | ef4161d363c026cfcdf9ac884f91a16bf09869ef /ardor3d-effects | |
parent | d0444773304dd536898183e361d2737315aee6b5 (diff) |
Removes some deprecated calls in order to ease compilation with future versions of Java
Diffstat (limited to 'ardor3d-effects')
-rw-r--r-- | ardor3d-effects/src/main/java/com/ardor3d/extension/effect/water/ProjectedGrid.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ardor3d-effects/src/main/java/com/ardor3d/extension/effect/water/ProjectedGrid.java b/ardor3d-effects/src/main/java/com/ardor3d/extension/effect/water/ProjectedGrid.java index 54a0c17..b9e26b7 100644 --- a/ardor3d-effects/src/main/java/com/ardor3d/extension/effect/water/ProjectedGrid.java +++ b/ardor3d-effects/src/main/java/com/ardor3d/extension/effect/water/ProjectedGrid.java @@ -631,8 +631,7 @@ public class ProjectedGrid extends Mesh { final String namePrefix; DeamonThreadFactory() { - final SecurityManager s = System.getSecurityManager(); - group = (s != null) ? s.getThreadGroup() : Thread.currentThread().getThreadGroup(); + group = Thread.currentThread().getThreadGroup(); namePrefix = "ProjectedGrid Pool-" + poolNumber.getAndIncrement() + "-thread-"; } |