diff --git a/src/be/jeffcheasey88/peeratcode/framework/Router.java b/src/be/jeffcheasey88/peeratcode/framework/Router.java index 02e843e..6b39668 100644 --- a/src/be/jeffcheasey88/peeratcode/framework/Router.java +++ b/src/be/jeffcheasey88/peeratcode/framework/Router.java @@ -21,7 +21,9 @@ import org.jose4j.jwt.JwtClaims; import org.jose4j.lang.JoseException; public class Router{ - + + public static void main(String[] args){} + private Map> responses; private Map patterns; private Response noFileFound; diff --git a/src/be/jeffcheasey88/peeratcode/framework/User.java b/src/be/jeffcheasey88/peeratcode/framework/User.java index f2e107c..663c0f0 100644 --- a/src/be/jeffcheasey88/peeratcode/framework/User.java +++ b/src/be/jeffcheasey88/peeratcode/framework/User.java @@ -2,25 +2,14 @@ package be.jeffcheasey88.peeratcode.framework; import org.jose4j.jwt.JwtClaims; -import be.jeffcheasey88.peeratcode.framework.Locker.Key; - public class User{ private int id; - private Key key; public User(JwtClaims jwtClaims){ this.id = ((Long) jwtClaims.getClaimValue("id")).intValue(); } - public void setKey(Key key){ - this.key = key; - } - - public Key getKey(){ - return this.key; - } - public int getId(){ return this.id; }