Skip to content

Commit

Permalink
changes all url string to URI type
Browse files Browse the repository at this point in the history
Fixes testmycode#77

refactor strings to URI changes

arrange two more imports

fix indentation

fix indentation and import orders

fixed little bug

Brought back zip_url because it got lost after rebasing
  • Loading branch information
DarthKipsu authored and Sari R committed Sep 18, 2015
1 parent 1bcd11a commit 37a8000
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/fi/helsinki/cs/tmc/core/domain/Exercise.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ public class Exercise implements Serializable {

private String checksum; //: "406f2f0690550c6dea94f319b2b1580c",

@SerializedName("zip_url")
private URI zipUrl;

@SerializedName("return_url")
private URI returnUrl; //: "https://tmc.mooc.fi/staging/exercises/284/submissions.json",

@SerializedName("zip_url")
private URI zipUrl; //": "https://tmc.mooc.fi/staging/exercises/284.zip",

/**
* The URL the solution can be downloaded from (admins only).
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

public class SubmissionPollerTest {

Expand Down

0 comments on commit 37a8000

Please sign in to comment.