diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/database/PermissionsManager.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/database/PermissionsManager.java b/src/org/traccar/database/PermissionsManager.java index 5814a1203..e4bd6f5db 100644 --- a/src/org/traccar/database/PermissionsManager.java +++ b/src/org/traccar/database/PermissionsManager.java @@ -25,7 +25,6 @@ import org.traccar.model.Server; import org.traccar.model.User; import org.traccar.model.UserPermission; -import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.sql.SQLException; import java.util.ArrayList; @@ -413,8 +412,7 @@ public class PermissionsManager { if (method != null) { serverPreference = method.invoke(server, (Object[]) null); } - } catch (NoSuchMethodException | SecurityException | IllegalAccessException - | IllegalArgumentException | InvocationTargetException exception) { + } catch (ReflectiveOperationException | SecurityException | IllegalArgumentException exception) { return defaultValue; } if (server.getForceSettings()) { |