You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metamodel.apache.org by ka...@apache.org on 2014/07/11 21:37:07 UTC
[3/3] git commit: METAMODEL-65: Fixed license header
METAMODEL-65: Fixed license header
Project: http://git-wip-us.apache.org/repos/asf/incubator-metamodel/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metamodel/commit/e2a845b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metamodel/tree/e2a845b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metamodel/diff/e2a845b7
Branch: refs/heads/master
Commit: e2a845b768a82b9b7d0b0c82a0c91ce6ba6ef103
Parents: b4c6a77
Author: Kasper Sørensen <i....@gmail.com>
Authored: Wed Jul 9 23:13:13 2014 +0200
Committer: Kasper Sørensen <i....@gmail.com>
Committed: Wed Jul 9 23:13:13 2014 +0200
----------------------------------------------------------------------
.../org/apache/metamodel/data/Document.java | 18 ++++++++++++++++++
.../metamodel/data/MaxRowsDocumentSource.java | 18 ++++++++++++++++++
.../couchdb/CouchDbDocumentConverter.java | 20 +++++++++++++++++++-
3 files changed, 55 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-metamodel/blob/e2a845b7/core/src/main/java/org/apache/metamodel/data/Document.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/metamodel/data/Document.java b/core/src/main/java/org/apache/metamodel/data/Document.java
index 60cc080..3b1f254 100644
--- a/core/src/main/java/org/apache/metamodel/data/Document.java
+++ b/core/src/main/java/org/apache/metamodel/data/Document.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.metamodel.data;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-metamodel/blob/e2a845b7/core/src/main/java/org/apache/metamodel/data/MaxRowsDocumentSource.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/metamodel/data/MaxRowsDocumentSource.java b/core/src/main/java/org/apache/metamodel/data/MaxRowsDocumentSource.java
index b0cfdbc..f9f2f38 100644
--- a/core/src/main/java/org/apache/metamodel/data/MaxRowsDocumentSource.java
+++ b/core/src/main/java/org/apache/metamodel/data/MaxRowsDocumentSource.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.metamodel.data;
/**
http://git-wip-us.apache.org/repos/asf/incubator-metamodel/blob/e2a845b7/couchdb/src/main/java/org/apache/metamodel/couchdb/CouchDbDocumentConverter.java
----------------------------------------------------------------------
diff --git a/couchdb/src/main/java/org/apache/metamodel/couchdb/CouchDbDocumentConverter.java b/couchdb/src/main/java/org/apache/metamodel/couchdb/CouchDbDocumentConverter.java
index e1277e7..db1ccca 100644
--- a/couchdb/src/main/java/org/apache/metamodel/couchdb/CouchDbDocumentConverter.java
+++ b/couchdb/src/main/java/org/apache/metamodel/couchdb/CouchDbDocumentConverter.java
@@ -1,10 +1,28 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.metamodel.couchdb;
import org.apache.metamodel.data.Document;
import org.apache.metamodel.schema.builder.ColumnNameAsKeysRowConverter;
import org.ektorp.ViewResult.Row;
-public class CouchDbDocumentConverter extends ColumnNameAsKeysRowConverter {
+final class CouchDbDocumentConverter extends ColumnNameAsKeysRowConverter {
@Override
protected Object get(Document document, String columnName) {