From aa6df077361bf1470d3799514f5774951025bed4 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Wed, 15 Feb 2023 23:08:25 +0100 Subject: Removes some deprecated calls in order to ease compilation with future versions of Java --- .../main/java/com/ardor3d/extension/effect/water/ProjectedGrid.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ardor3d-effects') 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-"; } -- cgit v1.2.3