From: James Moger Date: Thu, 29 Sep 2011 15:09:22 +0000 (-0400) Subject: Set default federation strategy in model (issue 20) X-Git-Tag: v0.7.0~103 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4838c534a2f29109e7e5bcf8bad074fd4fa17f6d;p=gitblit.git Set default federation strategy in model (issue 20) --- diff --git a/docs/00_index.mkd b/docs/00_index.mkd index 48d373b7..2c40e1ef 100644 --- a/docs/00_index.mkd +++ b/docs/00_index.mkd @@ -28,6 +28,7 @@ Gitblit requires a Java 6 Runtime Environment (JRE) or a Java 6 Development Kit **%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%)|[war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%)|[fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%)) based on [%JGIT%][jgit]   *released %BUILDDATE%* +- fixed: Null pointer exception if did not set federation strategy (issue 20) - fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later - added: IUserService.setup(IStoredSettings) for custom user service implementations diff --git a/docs/04_releases.mkd b/docs/04_releases.mkd index c63f6ebd..667e5f2e 100644 --- a/docs/04_releases.mkd +++ b/docs/04_releases.mkd @@ -3,6 +3,7 @@ ### Current Release **%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%)|[war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%)|[fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%)) based on [%JGIT%][jgit]   *released %BUILDDATE%* +- fixed: Null pointer exception if did not set federation strategy (issue 20) - fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later - added: IUserService.setup(IStoredSettings) for custom user service implementations diff --git a/src/com/gitblit/models/RepositoryModel.java b/src/com/gitblit/models/RepositoryModel.java index 0f1a676b..e85fd6a5 100644 --- a/src/com/gitblit/models/RepositoryModel.java +++ b/src/com/gitblit/models/RepositoryModel.java @@ -63,7 +63,8 @@ public class RepositoryModel implements Serializable, Comparable(); + this.federationSets = new ArrayList(); + this.federationStrategy = FederationStrategy.FEDERATE_THIS; } @Override