incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [15/17] Changing license header to Apache for blur-core main.
Date Mon, 03 Sep 2012 02:25:02 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/results/PeekableIterator.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/results/PeekableIterator.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/results/PeekableIterator.java
index 447d19e..963cc34 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/results/PeekableIterator.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/results/PeekableIterator.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.manager.results;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.manager.results;
-
 import java.util.Iterator;
 
 public class PeekableIterator<E> implements Iterator<E> {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactor.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactor.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactor.java
index a7ab5d0..5a30033 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactor.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactor.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.stats;
 
+/**
+ * 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.
+ */
 import java.lang.management.ManagementFactory;
 import java.lang.management.MemoryMXBean;
 import java.util.Map;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactorProcessor.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactorProcessor.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactorProcessor.java
index 0d54ba7..ba02cd6 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactorProcessor.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/LoadFactorProcessor.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.stats;
 
+/**
+ * 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.
+ */
 import java.util.concurrent.TimeUnit;
 
 public class LoadFactorProcessor {
@@ -50,7 +66,5 @@ public class LoadFactorProcessor {
   public WeightedAvg getFifteen() {
     return _fifteen;
   }
-  
-  
 
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/MergerTableStats.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/MergerTableStats.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/MergerTableStats.java
index c404717..6afd3a2 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/MergerTableStats.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/MergerTableStats.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.stats;
 
+/**
+ * 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.
+ */
 import java.util.concurrent.Future;
 import java.util.concurrent.TimeUnit;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/Sampler.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/Sampler.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/Sampler.java
index 958aed4..3d01589 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/Sampler.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/Sampler.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.stats;
 
+/**
+ * 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.
+ */
 public interface Sampler {
 
   long sample();

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/WeightedAvg.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/WeightedAvg.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/WeightedAvg.java
index 7e4bea3..e1bb680 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/WeightedAvg.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/stats/WeightedAvg.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.stats;
 
+/**
+ * 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.
+ */
 
 public class WeightedAvg {
 
@@ -53,7 +69,5 @@ public class WeightedAvg {
   public long getTotalValue() {
     return _totalValue;
   }
-  
-  
 
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatus.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatus.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatus.java
index 052c0ba..c4cebab 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatus.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatus.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.manager.status;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.manager.status;
-
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatusSingle.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatusSingle.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatusSingle.java
index 3527c13..2455f3e 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatusSingle.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/MergerQueryStatusSingle.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.manager.status;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.manager.status;
-
 import java.util.concurrent.Future;
 import java.util.concurrent.TimeUnit;
 
@@ -41,7 +41,7 @@ public class MergerQueryStatusSingle implements Merger<BlurQueryStatus> {
       if (result == null) {
         result = status;
       } else {
-        result = MergerQueryStatus.merge(result,status);
+        result = MergerQueryStatus.merge(result, status);
       }
     }
     return result;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatus.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatus.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatus.java
index 1ec814f..7fca0a3 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatus.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatus.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.manager.status;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.manager.status;
-
 import java.lang.management.ManagementFactory;
 import java.lang.management.ThreadMXBean;
 import java.util.concurrent.atomic.AtomicBoolean;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatusManager.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatusManager.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatusManager.java
index e2370b6..5d7918b 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatusManager.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/status/QueryStatusManager.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.manager.status;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.manager.status;
-
 import java.util.ArrayList;
 import java.util.HashSet;
 import java.util.Iterator;
@@ -115,9 +115,7 @@ public class QueryStatusManager {
         return status.getQueryStatus();
       }
     }
-    throw new BlurException("Query status for table [" + table + 
-    		"] and uuid [" + uuid + 
-    		"] not found",null);
+    throw new BlurException("Query status for table [" + table + "] and uuid [" + uuid + "] not found", null);
   }
 
   public List<Long> queryStatusIdList(String table) {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/AbstractBlurIndex.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/AbstractBlurIndex.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/AbstractBlurIndex.java
index 62e55c4..c6f46e5 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/AbstractBlurIndex.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/AbstractBlurIndex.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import static com.nearinfinity.blur.lucene.LuceneConstant.LUCENE_VERSION;
 
 import java.io.IOException;
@@ -83,7 +99,7 @@ public abstract class AbstractBlurIndex extends BlurIndex {
     if (innerClose != null) {
       try {
         innerClose.call();
-      } catch(Exception e) {
+      } catch (Exception e) {
         throw new IOException(e);
       }
     }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndex.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndex.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndex.java
index 8434b7f..ff388d9 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndex.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndex.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.util.concurrent.atomic.AtomicBoolean;
 
@@ -10,7 +26,7 @@ import com.nearinfinity.blur.thrift.generated.Row;
 public abstract class BlurIndex {
 
   public abstract void replaceRow(boolean waitToBeVisible, boolean wal, Row row) throws IOException;
-  
+
   public abstract void deleteRow(boolean waitToBeVisible, boolean wal, String rowId) throws IOException;
 
   public abstract IndexReader getIndexReader() throws IOException;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexCloser.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexCloser.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexCloser.java
index ac2d406..4aee08d 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexCloser.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexCloser.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.util.Collection;
 import java.util.Iterator;
 import java.util.concurrent.ExecutorService;
@@ -81,7 +97,7 @@ public class BlurIndexCloser implements Runnable {
           long s = System.currentTimeMillis();
           reader.close();
           long e = System.currentTimeMillis();
-          LOG.debug("Size [{0}] time to close [{1}] Closing indexreader [{2}].", readers.size(), (e-s), reader);
+          LOG.debug("Size [{0}] time to close [{1}] Closing indexreader [{2}].", readers.size(), (e - s), reader);
         } catch (Exception e) {
           readers.add(reader);
           LOG.error("Error while trying to close indexreader [" + reader + "].", e);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexReader.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexReader.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexReader.java
index 872327f..8e1b609 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexReader.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexReader.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 
 import org.apache.lucene.analysis.KeywordAnalyzer;
@@ -36,7 +52,7 @@ public class BlurIndexReader extends AbstractBlurIndex {
   @Override
   public void close() throws IOException {
     super.close();
-    LOG.info("Reader for table [{0}] shard [{1}] closed.",getTable(),getShard());
+    LOG.info("Reader for table [{0}] shard [{1}] closed.", getTable(), getShard());
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexRefresher.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexRefresher.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexRefresher.java
index 1ba23e2..88e7e92 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexRefresher.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurIndexRefresher.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.util.Collection;
 import java.util.Timer;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurNRTIndex.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurNRTIndex.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurNRTIndex.java
index 3e5d551..1b0038c 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurNRTIndex.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/BlurNRTIndex.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import static com.nearinfinity.blur.lucene.LuceneConstant.LUCENE_VERSION;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceCounter.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceCounter.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceCounter.java
index 30c02dd..19ec285 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceCounter.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceCounter.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.util.Collection;
 import java.util.Map;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceFileGC.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceFileGC.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceFileGC.java
index b704b18..eecd816 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceFileGC.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/DirectoryReferenceFileGC.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.util.Iterator;
 import java.util.Map;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/TransactionRecorder.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/TransactionRecorder.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/TransactionRecorder.java
index 0cdd3c2..aed2e23 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/TransactionRecorder.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/TransactionRecorder.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer;
 
+/**
+ * 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.
+ */
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.DataInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SnapshotIndexReader.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SnapshotIndexReader.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SnapshotIndexReader.java
index 8755af7..737e2d7 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SnapshotIndexReader.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SnapshotIndexReader.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer.lucene;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 
 import org.apache.lucene.index.FilterIndexReader;
@@ -69,12 +85,12 @@ public class SnapshotIndexReader extends FilterIndexReader {
     return new SnapshotTermPositions(in.termPositions(), maxDocs);
   }
 
-//  public TermPositions termPositions(Term term) throws IOException {
-//    ensureOpen();
-//    TermPositions termPositions = termPositions();
-//    termPositions.seek(term);
-//    return termPositions;
-//  }
+  // public TermPositions termPositions(Term term) throws IOException {
+  // ensureOpen();
+  // TermPositions termPositions = termPositions();
+  // termPositions.seek(term);
+  // return termPositions;
+  // }
 
   public static class SnapshotTermPositions extends FilterTermPositions {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SoftDeleteIndexReader.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SoftDeleteIndexReader.java b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SoftDeleteIndexReader.java
index dcdf54b..530da19 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SoftDeleteIndexReader.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/manager/writer/lucene/SoftDeleteIndexReader.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.manager.writer.lucene;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.util.Collection;
 
@@ -107,12 +123,12 @@ public class SoftDeleteIndexReader extends FilterIndexReader {
     return new SoftDeleteTermPositions(in.termPositions(), deletes);
   }
 
-//  public TermPositions termPositions(Term term) throws IOException {
-//    ensureOpen();
-//    TermPositions termPositions = termPositions();
-//    termPositions.seek(term);
-//    return termPositions;
-//  }
+  // public TermPositions termPositions(Term term) throws IOException {
+  // ensureOpen();
+  // TermPositions termPositions = termPositions();
+  // termPositions.seek(term);
+  // return termPositions;
+  // }
 
   public static class SoftDeleteTermPositions extends FilterTermPositions {
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurControllerServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurControllerServer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurControllerServer.java
index aac4f04..e3e344c 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurControllerServer.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurControllerServer.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.thrift;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.thrift;
-
 import java.io.Closeable;
 import java.io.IOException;
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurShardServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurShardServer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurShardServer.java
index b623d09..9225b24 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurShardServer.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/BlurShardServer.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.thrift;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.thrift;
-
 import java.io.IOException;
 import java.util.List;
 import java.util.Map;
@@ -248,7 +248,7 @@ public class BlurShardServer extends TableAdmin implements Iface {
       throw new BException(e.getMessage(), e);
     }
     long e = System.nanoTime();
-    LOG.debug("mutateBatch took [" + (e-s) / 1000000.0 + " ms] to complete");
+    LOG.debug("mutateBatch took [" + (e - s) / 1000000.0 + " ms] to complete");
   }
 
   public long getMaxTimeToLive() {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ExecutorServicePerMethodCallThriftServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ExecutorServicePerMethodCallThriftServer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ExecutorServicePerMethodCallThriftServer.java
index 7f4e00e..2504a0a 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ExecutorServicePerMethodCallThriftServer.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ExecutorServicePerMethodCallThriftServer.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.thrift;
 
+/**
+ * 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.
+ */
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/MutationHelper.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/MutationHelper.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/MutationHelper.java
index 2836986..639cda3 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/MutationHelper.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/MutationHelper.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.thrift;
 
+/**
+ * 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.
+ */
 import java.util.List;
 
 import org.apache.hadoop.io.BytesWritable;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/TableAdmin.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/TableAdmin.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/TableAdmin.java
index d4dd379..00f2d32 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/TableAdmin.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/TableAdmin.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.thrift;
 
+/**
+ * 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.
+ */
 import java.util.List;
 import java.util.Map;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurControllerServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurControllerServer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurControllerServer.java
index 45ad653..574d176 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurControllerServer.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurControllerServer.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.thrift;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.thrift;
-
 import static com.nearinfinity.blur.utils.BlurConstants.BLUR_CONTROLLER_BIND_ADDRESS;
 import static com.nearinfinity.blur.utils.BlurConstants.BLUR_CONTROLLER_BIND_PORT;
 import static com.nearinfinity.blur.utils.BlurConstants.BLUR_CONTROLLER_CACHE_MAX_QUERYCACHE_ELEMENTS;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurShardServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurShardServer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurShardServer.java
index 3fcfac2..a65c4f5 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurShardServer.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftBlurShardServer.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.thrift;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.thrift;
-
 import static com.nearinfinity.blur.utils.BlurConstants.BLUR_CLUSTER_NAME;
 import static com.nearinfinity.blur.utils.BlurConstants.BLUR_CONTROLLER_BIND_PORT;
 import static com.nearinfinity.blur.utils.BlurConstants.BLUR_GUI_CONTROLLER_PORT;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftServer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftServer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftServer.java
index e02c92d..adec2a8 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftServer.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ThriftServer.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.thrift;
 
+/**
+ * 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.
+ */
 import java.net.InetAddress;
 import java.net.InetSocketAddress;
 import java.net.UnknownHostException;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ZookeeperSystemTime.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ZookeeperSystemTime.java b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ZookeeperSystemTime.java
index f893768..1099429 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ZookeeperSystemTime.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/thrift/ZookeeperSystemTime.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.thrift;
 
+/**
+ * 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.
+ */
 import java.io.IOException;
 import java.util.UUID;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurConstants.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurConstants.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurConstants.java
index e157e19..cb424f3 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurConstants.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurConstants.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.io.IOException;
 import java.util.Comparator;
 import java.util.concurrent.TimeUnit;
@@ -32,7 +32,7 @@ import com.nearinfinity.blur.manager.results.PeekableIterator;
 import com.nearinfinity.blur.thrift.generated.BlurResult;
 
 public class BlurConstants {
-  
+
   public static final String CONTROLLER = "controller";
   public static final String SHARD = "shard";
   public static final String SHARD_PREFIX = "shard-";
@@ -72,7 +72,7 @@ public class BlurConstants {
   public static final String BLUR_SHARD_OPENER_THREAD_COUNT = "blur.shard.opener.thread.count";
   public static final String BLUR_SHARD_INDEX_DELETION_POLICY_MAXAGE = "blur.shard.index.deletion.policy.maxage";
   public static final String BLUR_ZOOKEEPER_SYSTEM_TIME_TOLERANCE = "blur.zookeeper.system.time.tolerance";
-  
+
   public static final String BLUR_SHARD_TIME_BETWEEN_COMMITS = "blur.shard.time.between.commits";
   public static final String BLUR_SHARD_TIME_BETWEEN_REFRESHS = "blur.shard.time.between.refreshs";
 
@@ -81,7 +81,7 @@ public class BlurConstants {
   public static final String BLUR_CONTROLLER_CACHE_MAX_TIMETOLIVE = "blur.controller.cache.max.timetolive";
   public static final String BLUR_CONTROLLER_CACHE_MAX_QUERYCACHE_ELEMENTS = "blur.controller.cache.max.querycache.elements";
   public static final String BLUR_CONTROLLER_REMOTE_FETCH_COUNT = "blur.controller.remote.fetch.count";
-  
+
   public static final String BLUR_CONTROLLER_RETRY_MAX_MUTATE_RETRIES = "blur.controller.retry.max.mutate.retries";
   public static final String BLUR_CONTROLLER_RETRY_MAX_DEFAULT_RETRIES = "blur.controller.retry.max.default.retries";
   public static final String BLUR_CONTROLLER_RETRY_FETCH_DELAY = "blur.controller.retry.fetch.delay";
@@ -91,19 +91,19 @@ public class BlurConstants {
   public static final String BLUR_CONTROLLER_RETRY_MAX_MUTATE_DELAY = "blur.controller.retry.max.mutate.delay";
   public static final String BLUR_CONTROLLER_RETRY_MAX_DEFAULT_DELAY = "blur.controller.retry.max.default.delay";
   public static final String BLUR_CONTROLLER_RETRY_MAX_FETCH_RETRIES = "blur.controller.retry.max.fetch.retries";
-  
+
   public static final String BLUR_GUI_CONTROLLER_PORT = "blur.gui.controller.port";
   public static final String BLUR_GUI_SHARD_PORT = "blur.gui.shard.port";
 
   public static final String DEFAULT = "default";
   public static final String BLUR_CLUSTER_NAME = "blur.cluster.name";
   public static final String BLUR_CLUSTER;
-  
+
   public static final long ZK_WAIT_TIME = TimeUnit.SECONDS.toMillis(5);
 
   public static final Term PRIME_DOC_TERM = new Term(PRIME_DOC, BlurConstants.PRIME_DOC_VALUE);
   public static final Field PRIME_DOC_FIELD = new Field(PRIME_DOC, PRIME_DOC_VALUE, Store.YES, Index.NOT_ANALYZED_NO_NORMS);
-  
+
   static {
     try {
       BlurConfiguration configuration = new BlurConfiguration();

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurExecutorCompletionService.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurExecutorCompletionService.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurExecutorCompletionService.java
index 529cd02..1e5638c 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurExecutorCompletionService.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurExecutorCompletionService.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
@@ -36,7 +36,7 @@ public class BlurExecutorCompletionService<T> extends ExecutorCompletionService<
   private AtomicInteger count = new AtomicInteger(0);
   private Collection<Future<T>> _bag;
   private Cancel _cancel;
-  
+
   public interface Cancel {
     void cancel();
   }
@@ -46,19 +46,19 @@ public class BlurExecutorCompletionService<T> extends ExecutorCompletionService<
     _bag = Collections.synchronizedCollection(new HashSet<Future<T>>());
     _cancel = cancel;
   }
-  
+
   public void cancelAll() {
     for (Future<T> future : _bag) {
       future.cancel(true);
     }
     _cancel.cancel();
   }
-  
+
   private Future<T> remember(Future<T> future) {
     _bag.add(future);
     return future;
   }
-  
+
   private Future<T> forget(Future<T> future) {
     _bag.remove(future);
     return future;
@@ -85,14 +85,14 @@ public class BlurExecutorCompletionService<T> extends ExecutorCompletionService<
     }
     return forget(poll);
   }
-  
+
   @Override
   public Future<T> submit(Callable<T> task) {
     Future<T> future = super.submit(task);
     count.incrementAndGet();
     return remember(future);
   }
-  
+
   @Override
   public Future<T> submit(Runnable task, T result) {
     Future<T> future = super.submit(task, result);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurThriftRecord.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurThriftRecord.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurThriftRecord.java
index c1fe0c0..a73214c 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurThriftRecord.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurThriftRecord.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.utils;
 
+/**
+ * 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.
+ */
 import com.nearinfinity.blur.thrift.generated.Column;
 import com.nearinfinity.blur.thrift.generated.Record;
 
@@ -24,7 +40,7 @@ public class BlurThriftRecord extends Record implements ReaderBlurRecord {
 
   @Override
   public void setRowIdStr(String rowId) {
-//    setRowIdStr(rowId);
+    // setRowIdStr(rowId);
   }
 
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurUtil.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurUtil.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurUtil.java
index 1c26e18..1ce3a2d 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurUtil.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/BlurUtil.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import static com.nearinfinity.blur.utils.BlurConstants.SHARD_PREFIX;
 
 import java.io.ByteArrayInputStream;
@@ -748,7 +748,7 @@ public class BlurUtil {
     rowMutation.setRowMutationType(RowMutationType.REPLACE_ROW);
     List<Record> records = row.getRecords();
     for (Record record : records) {
-      rowMutation.addToRecordMutations(toRecordMutation(record));      
+      rowMutation.addToRecordMutations(toRecordMutation(record));
     }
     return rowMutation;
   }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/Converter.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/Converter.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/Converter.java
index 3d2040d..66339c1 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/Converter.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/Converter.java
@@ -1,21 +1,21 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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.
+ * 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 com.nearinfinity.blur.utils;
-
 public interface Converter<F, T> {
   T convert(F from) throws Exception;
 }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ForkJoin.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ForkJoin.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ForkJoin.java
index 9781ed2..b87f6a9 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ForkJoin.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ForkJoin.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.util.concurrent.Callable;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.ExecutorService;
@@ -41,14 +41,14 @@ public class ForkJoin {
   public static interface Merger<OUTPUT> {
     OUTPUT merge(BlurExecutorCompletionService<OUTPUT> service) throws BlurException;
   }
-  
+
   public static Cancel CANCEL = new Cancel() {
     @Override
     public void cancel() {
       // do nothing
     }
   };
-  
+
   public static <INPUT, OUTPUT> ParallelReturn<OUTPUT> execute(ExecutorService executor, Iterable<INPUT> it, final ParallelCall<INPUT, OUTPUT> parallelCall) {
     return execute(executor, it, parallelCall, CANCEL);
   }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IterableConverter.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IterableConverter.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IterableConverter.java
index b7473ce..6a57242 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IterableConverter.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IterableConverter.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.util.Iterator;
 
 public class IterableConverter<F, T> implements Iterable<T> {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IteratorConverter.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IteratorConverter.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IteratorConverter.java
index c343499..93f9012 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IteratorConverter.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/IteratorConverter.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.util.Iterator;
 
 public class IteratorConverter<F, T> implements Iterator<T> {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ObjectSize.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ObjectSize.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ObjectSize.java
index f829dd2..0cf854b 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ObjectSize.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ObjectSize.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.lang.instrument.Instrumentation;
 
 public class ObjectSize {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/PrimeDocCache.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/PrimeDocCache.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/PrimeDocCache.java
index 3ec05c4..187830c 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/PrimeDocCache.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/PrimeDocCache.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.io.IOException;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCache.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCache.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCache.java
index c7e75d9..b5fc053 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCache.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCache.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.utils;
 
+/**
+ * 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.
+ */
 import java.util.SortedSet;
 
 import com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheEntry.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheEntry.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheEntry.java
index e9e2e70..3fae7e8 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheEntry.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheEntry.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.utils;
 
+/**
+ * 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.
+ */
 import java.util.SortedSet;
 import java.util.TreeSet;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheKey.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheKey.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheKey.java
index 2aecc62..cf1ffa7 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheKey.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/QueryCacheKey.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.utils;
 
+/**
+ * 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.
+ */
 import com.nearinfinity.blur.thrift.generated.BlurQuery;
 
 public class QueryCacheKey {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReaderBlurRecord.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReaderBlurRecord.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReaderBlurRecord.java
index 04388b6..7e63b37 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReaderBlurRecord.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReaderBlurRecord.java
@@ -1,5 +1,21 @@
 package com.nearinfinity.blur.utils;
 
+/**
+ * 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.
+ */
 public interface ReaderBlurRecord {
 
   void setRecordIdStr(String value);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReferenceIterable.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReferenceIterable.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReferenceIterable.java
index f4a2f09..d02f0b1 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReferenceIterable.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/ReferenceIterable.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import java.util.Iterator;
 import java.util.NoSuchElementException;
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3f7f494e/src/blur-core/src/main/java/com/nearinfinity/blur/utils/RowDocumentUtil.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/RowDocumentUtil.java b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/RowDocumentUtil.java
index eede9c7..cdfd016 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/utils/RowDocumentUtil.java
+++ b/src/blur-core/src/main/java/com/nearinfinity/blur/utils/RowDocumentUtil.java
@@ -1,11 +1,14 @@
-/*
- * Copyright (C) 2011 Near Infinity Corporation
- *
- * 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
+package com.nearinfinity.blur.utils;
+
+/**
+ * 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
+ *     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,
@@ -13,9 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-package com.nearinfinity.blur.utils;
-
 import static com.nearinfinity.blur.utils.BlurConstants.RECORD_ID;
 import static com.nearinfinity.blur.utils.BlurConstants.ROW_ID;
 import static com.nearinfinity.blur.utils.BlurConstants.SEP;
@@ -66,7 +66,7 @@ public class RowDocumentUtil {
     }
     return row;
   }
-  
+
   public static String readRecord(Document document, ReaderBlurRecord reader) {
     String rowId = null;
     String family = null;
@@ -84,7 +84,7 @@ public class RowDocumentUtil {
           family = name.substring(0, index);
         }
         name = name.substring(index + 1);
-        reader.addColumn(name,field.stringValue());
+        reader.addColumn(name, field.stringValue());
       }
     }
     reader.setFamilyStr(family);


Mime
View raw message