Author: olamy
Date: Thu Jun 20 01:25:17 2013
New Revision: 1494834
URL: http://svn.apache.org/r1494834
Log:
fix missing license headers
Modified:
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/AbstractMemoryManager.java
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/IllegalMemoryPointerException.java
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/UnsafeMemoryManagerServiceImpl.java
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/FixedSizeUnsafeAllocatorImpl.java
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/LazyUnsafeAllocatorImpl.java
directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/memory/buffer/IntLongCompressionTestCase.java
directmemory/trunk/directmemory-cache/src/test/resources/directmemory.yaml
Modified:
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/AbstractMemoryManager.java
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/AbstractMemoryManager.java?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
---
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/AbstractMemoryManager.java
(original)
+++
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/AbstractMemoryManager.java
Thu Jun 20 01:25:17 2013
@@ -1,5 +1,24 @@
package org.apache.directmemory.memory;
+/*
+ * 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.google.common.collect.Iterables.filter;
import static com.google.common.collect.Iterables.limit;
import static com.google.common.collect.Ordering.from;
Modified:
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/IllegalMemoryPointerException.java
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/IllegalMemoryPointerException.java?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
---
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/IllegalMemoryPointerException.java
(original)
+++
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/IllegalMemoryPointerException.java
Thu Jun 20 01:25:17 2013
@@ -1,5 +1,24 @@
package org.apache.directmemory.memory;
+/*
+ * 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 IllegalMemoryPointerException
extends RuntimeException
{
Modified:
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/UnsafeMemoryManagerServiceImpl.java
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/UnsafeMemoryManagerServiceImpl.java?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
---
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/UnsafeMemoryManagerServiceImpl.java
(original)
+++
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/UnsafeMemoryManagerServiceImpl.java
Thu Jun 20 01:25:17 2013
@@ -1,5 +1,24 @@
package org.apache.directmemory.memory;
+/*
+ * 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.nio.BufferOverflowException;
import java.util.Collections;
Modified:
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/FixedSizeUnsafeAllocatorImpl.java
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/FixedSizeUnsafeAllocatorImpl.java?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
---
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/FixedSizeUnsafeAllocatorImpl.java
(original)
+++
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/FixedSizeUnsafeAllocatorImpl.java
Thu Jun 20 01:25:17 2013
@@ -1,5 +1,24 @@
package org.apache.directmemory.memory.allocator;
+/*
+ * 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.nio.BufferOverflowException;
import java.nio.ByteOrder;
Modified:
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/LazyUnsafeAllocatorImpl.java
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/LazyUnsafeAllocatorImpl.java?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
---
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/LazyUnsafeAllocatorImpl.java
(original)
+++
directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/allocator/LazyUnsafeAllocatorImpl.java
Thu Jun 20 01:25:17 2013
@@ -1,5 +1,24 @@
package org.apache.directmemory.memory.allocator;
+/*
+ * 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.nio.BufferOverflowException;
import java.nio.ByteOrder;
Modified:
directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/memory/buffer/IntLongCompressionTestCase.java
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/memory/buffer/IntLongCompressionTestCase.java?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
---
directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/memory/buffer/IntLongCompressionTestCase.java
(original)
+++
directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/memory/buffer/IntLongCompressionTestCase.java
Thu Jun 20 01:25:17 2013
@@ -1,5 +1,24 @@
package org.apache.directmemory.memory.buffer;
+/*
+ * 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 org.apache.directmemory.memory.buffer.Int32Compressor.INT32_FULL;
import static
org.apache.directmemory.memory.buffer.Int32Compressor.INT32_MAX_DOUBLE;
import static
org.apache.directmemory.memory.buffer.Int32Compressor.INT32_MAX_SINGLE;
Modified:
directmemory/trunk/directmemory-cache/src/test/resources/directmemory.yaml
URL:
http://svn.apache.org/viewvc/directmemory/trunk/directmemory-cache/src/test/resources/directmemory.yaml?rev=1494834&r1=1494833&r2=1494834&view=diff
==============================================================================
--- directmemory/trunk/directmemory-cache/src/test/resources/directmemory.yaml
(original)
+++ directmemory/trunk/directmemory-cache/src/test/resources/directmemory.yaml
Thu Jun 20 01:25:17 2013
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# Number of buffers
numberOfBuffers: 1