Updated Branches: refs/heads/master 09ca58266 -> c42c1c0d2
fix typo and license header issues Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/2a84cea8 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/2a84cea8 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/2a84cea8 Branch: refs/heads/master Commit: 2a84cea8bb3bec46c3a762c922cac145b909dff1 Parents: 09ca582 Author: Massimo Lusetti <[email protected]> Authored: Thu Jun 20 19:36:21 2013 +0200 Committer: Massimo Lusetti <[email protected]> Committed: Thu Jun 20 19:36:21 2013 +0200 ---------------------------------------------------------------------- .../apache/tapestry5/mongodb/MongoDBSource.java | 4 +++- .../tapestry5/mongodb/modules/MongodbModule.java | 19 ++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2a84cea8/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/MongoDBSource.java ---------------------------------------------------------------------- diff --git a/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/MongoDBSource.java b/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/MongoDBSource.java index 887f7c7..70bc70c 100644 --- a/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/MongoDBSource.java +++ b/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/MongoDBSource.java @@ -10,7 +10,9 @@ // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and -// limitations under the License.package org.apache.tapestry5.mongodb; +// limitations under the License. + +package org.apache.tapestry5.mongodb; import com.mongodb.MongoClient; import com.mongodb.ServerAddress; http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2a84cea8/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/modules/MongodbModule.java ---------------------------------------------------------------------- diff --git a/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/modules/MongodbModule.java b/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/modules/MongodbModule.java index 73c14b9..a23b003 100644 --- a/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/modules/MongodbModule.java +++ b/tapestry-mongodb/src/main/java/org/apache/tapestry5/mongodb/modules/MongodbModule.java @@ -1,5 +1,21 @@ +// Copyright 2013 The Apache Software Foundation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package org.apache.tapestry5.mongodb.modules; +import com.mongodb.ReadPreference; +import com.mongodb.WriteConcern; import org.apache.tapestry5.internal.mongodb.MongoDBImpl; import org.apache.tapestry5.internal.mongodb.MongoDBSourceImpl; import org.apache.tapestry5.ioc.Configuration; @@ -16,9 +32,6 @@ import org.apache.tapestry5.mongodb.MongoDBSource; import org.apache.tapestry5.mongodb.MongoDBSymbols; import org.slf4j.Logger; -import com.mongodb.ReadPreference; -import com.mongodb.WriteConcern; - /** * Defines services which are responsible for MongoDB initializations and connections. */
