Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Update SystemShit.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hummel committed May 24, 2019
1 parent e1ed5b6 commit f47b8ab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.lang.management.ThreadMXBean;
import java.util.LinkedList;
import java.util.Random;
import java.util.UUID;

import javax.sql.DataSource;

Expand Down Expand Up @@ -50,6 +51,8 @@ public void printUsage() {

@Override
public Object doExecute(CmdShitYo base, String cmd, String[] parameters) throws Exception {
if (cmd.equals("uuid"))
return UUID.randomUUID().toString();
if (cmd.equals("threadid")) {
synchronized (lock) {
String threadid = (String)base.session.get("threadid");
Expand Down

0 comments on commit f47b8ab

Please sign in to comment.