This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Commit 463d7198 authored by Michael Breu's avatar Michael Breu 💬
Browse files

Just a temporary fix for a version mismatch problem :-(

parent 90f982d5
......@@ -25,6 +25,20 @@ public class ShoppingBasket {
public long tokenValidUntil;
/**
* just a temporary fix, to make constuctor downward compatible.
* Should be fixed in development branch of sharing plattform.
* @param userInfo
* @param exerciseInfo
*/
@Deprecated
public ShoppingBasket(UserInfo userInfo, ExerciseInfo[] exerciseInfo) {
super();
this.userInfo = userInfo;
this.exerciseInfo = exerciseInfo;
this.tokenValidUntil = System.currentTimeMillis() + 60 * 60 * 1000L;
}
public ShoppingBasket(UserInfo userInfo, ExerciseInfo[] exerciseInfo, long tokenValidUntil) {
super();
this.userInfo = userInfo;
......
......@@ -2,3 +2,7 @@
/maven-archiver/
/maven-status/
/apidocs/
/SharingPluginPlatformAPI-0.0.1-javadoc.jar
/SharingPluginPlatformAPI-0.0.1-sources.jar
/SharingPluginPlatformAPI-0.0.1.jar
/maven-javadoc-plugin-stale-data.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment