package nl.tudelft.ewi.git.models;

import com.google.common.collect.Lists;

public class DetailedRepositoryModelFactory {

	public static DetailedRepositoryModel create(CreateRepositoryModel createRepositoryModel) {
		DetailedRepositoryModel model = new DetailedRepositoryModel();
		model.setName(createRepositoryModel.getName());
		model.setPath(createRepositoryModel.getPath());
		model.setPermissions(createRepositoryModel.getPermissions());
		model.setRecentCommits(Lists.<CommitModel> newArrayList());
		model.setTags(Lists.<TagModel> newArrayList());
		model.setUrl(createRepositoryModel.getUrl());
		return model;
	}
	
}

@@ -566,16 +566,46 @@
 .setUrl(
+%22ssh://git@localhost:2222/%22 + 
 createRe
@@ -621,19 +621,20 @@
 odel.get
-Url
+Name
 ());%0A%09%09r

Set URL for the DetailedRepositoryModelFactory