Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param daemon,
- * however this is not the preferred method for checking to see if the current thread is a daemon thread
- * rather use Daemon.isDeamonThread()
- * the isDaemonThread is preferred for checking to see if you are in that thread or if the current thread is daemon.
- */
- public boolean isDaemonUser(User daemon) {
- return daemon.toString() == DAEMON_USER_UUID;
- }
Advertisement
Add Comment
Please, Sign In to add comment