code: public Workspace addWorkspace( String name,
                                     String repositoryUrl ) {
          Workspace workspace = new Workspace(name, repositoryUrl);
          workspaces.add(workspace);
          return workspace;
      }
docs: Adds a new workspace to the list of workspaces.
  
  @param name a {@code non-null} string, the name of a workspace.
  @param repositoryUrl a {@code non-null} string, the absolute url to the repository to which the workspace belongs.
  @return a {@link Workspace} instance