Updated Branches: refs/heads/master 619bcc802 -> 89e47b7c9
Fixing headers Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/89e47b7c Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/89e47b7c Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/89e47b7c Branch: refs/heads/master Commit: 89e47b7c993020426f8da5a1d85d88c760e5036e Parents: 619bcc8 Author: Aaron McCurry <[email protected]> Authored: Fri Oct 4 13:44:48 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Fri Oct 4 13:44:48 2013 -0400 ---------------------------------------------------------------------- .../apache/blur/server/TableContextTest.java | 22 +++++++++++++++++--- .../java/org/apache/blur/server/TestType.java | 16 ++++++++++++++ pom.xml | 2 +- 3 files changed, 36 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/89e47b7c/blur-core/src/test/java/org/apache/blur/server/TableContextTest.java ---------------------------------------------------------------------- diff --git a/blur-core/src/test/java/org/apache/blur/server/TableContextTest.java b/blur-core/src/test/java/org/apache/blur/server/TableContextTest.java index 45e3c91..ee6a892 100644 --- a/blur-core/src/test/java/org/apache/blur/server/TableContextTest.java +++ b/blur-core/src/test/java/org/apache/blur/server/TableContextTest.java @@ -1,3 +1,19 @@ +/** + * 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.blur.server; import static org.junit.Assert.*; @@ -56,14 +72,14 @@ public class TableContextTest { fieldManager.addColumnDefinition("fam", "col", null, false, "test", null); } - + @Test public void testLoadingNewTypeWhenDefinedFromBlurConfigure() throws IOException { BlurConfiguration blurConfiguration = new BlurConfiguration(); blurConfiguration.set(BlurConstants.BLUR_FIELDTYPE + "test", TestType.class.getName()); - + TableContext.setSystemBlurConfiguration(blurConfiguration); - + TableDescriptor tableDescriptor = new TableDescriptor(); tableDescriptor.setName(name); tableDescriptor.setTableUri(file.toURI().toString()); http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/89e47b7c/blur-core/src/test/java/org/apache/blur/server/TestType.java ---------------------------------------------------------------------- diff --git a/blur-core/src/test/java/org/apache/blur/server/TestType.java b/blur-core/src/test/java/org/apache/blur/server/TestType.java index 6c2e6ab..19b8f66 100644 --- a/blur-core/src/test/java/org/apache/blur/server/TestType.java +++ b/blur-core/src/test/java/org/apache/blur/server/TestType.java @@ -1,3 +1,19 @@ +/** + * 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.blur.server; import org.apache.blur.analysis.type.TextFieldTypeDefinition; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/89e47b7c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 6b70353..05e03b6 100644 --- a/pom.xml +++ b/pom.xml @@ -229,7 +229,7 @@ under the License. <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.9</version> + <version>0.10</version> <configuration> <excludes> <exclude>LICENSE</exclude>
