Author: mcucchiara
Date: Sat Dec 31 01:55:23 2011
New Revision: 1226022

URL: http://svn.apache.org/viewvc?rev=1226022&view=rev
Log:
DIRECTMEMORY-52 - code formatting

Modified:
    
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
    
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/DummyPojo.java
    
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/Format.java
    
incubator/directmemory/trunk/examples/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java

Modified: 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
URL: 
http://svn.apache.org/viewvc/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java?rev=1226022&r1=1226021&r2=1226022&view=diff
==============================================================================
--- 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
 (original)
+++ 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/Pointer.java
 Sat Dec 31 01:55:23 2011
@@ -1,7 +1,5 @@
 package org.apache.directmemory.memory;
 
-import java.nio.ByteBuffer;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,6 +19,8 @@ import java.nio.ByteBuffer;
  * under the License.
  */
 
+import java.nio.ByteBuffer;
+
 public class Pointer
 {
     public int start;

Modified: 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/DummyPojo.java
URL: 
http://svn.apache.org/viewvc/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/DummyPojo.java?rev=1226022&r1=1226021&r2=1226022&view=diff
==============================================================================
--- 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/DummyPojo.java
 (original)
+++ 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/DummyPojo.java
 Sat Dec 31 01:55:23 2011
@@ -1,7 +1,5 @@
 package org.apache.directmemory.misc;
 
-import java.io.Serializable;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,6 +19,8 @@ import java.io.Serializable;
  * under the License.
  */
 
+import java.io.Serializable;
+
 
 public class DummyPojo
     implements Serializable

Modified: 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/Format.java
URL: 
http://svn.apache.org/viewvc/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/Format.java?rev=1226022&r1=1226021&r2=1226022&view=diff
==============================================================================
--- 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/Format.java
 (original)
+++ 
incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/misc/Format.java
 Sat Dec 31 01:55:23 2011
@@ -30,20 +30,12 @@ public class Format
 
     public static String logo()
     {
-        return "         ____  _                 __  __  ___\r\n" +
-            "        / __ \\(_)________  _____/ /_/  |/  /___  ____ ___  ____  
_______  __\r\n" +
-            "       / / / / // ___/ _ \\/ ___/ __/ /|_/ // _ \\/ __ `__ \\/ __ 
\\/ ___/ / / /\r\n" +
-            "      / /_/ / // /  /  __/ /__/ /_/ /  / //  __/ / / / / / /_/ / 
/  / /_/ / \r\n" +
-            "     /_____/_//_/   \\___/\\___/\\__/_/  /_/ \\___/_/ /_/ 
/_/\\____/_/   \\__, /\r\n" +
-            "                                                                  
 /____/   ";
-
-//          return
-//               "  ___                  _ _ _\r\n" +                        
-//               " ( / \\ o           _/_( / ) )\r\n" +                       
-//               "  /  /,  _   _  _, /   / / / _  _ _ _   __ _   __  ,\r\n" + 
-//               "(/\\_/ (_/ (_(/_(__(__ / / (_(/_/ / / /_(_)/ (_/ (_/_\r\n" + 
-//               "                                                 /\r\n" +  
-//               "                                                '";   
+        return "         ____  _                 __  __  ___\r\n"
+            + "        / __ \\(_)________  _____/ /_/  |/  /___  ____ ___  
____  _______  __\r\n"
+            + "       / / / / // ___/ _ \\/ ___/ __/ /|_/ // _ \\/ __ `__ \\/ 
__ \\/ ___/ / / /\r\n"
+            + "      / /_/ / // /  /  __/ /__/ /_/ /  / //  __/ / / / / / /_/ 
/ /  / /_/ / \r\n"
+            + "     /_____/_//_/   \\___/\\___/\\__/_/  /_/ \\___/_/ /_/ 
/_/\\____/_/   \\__, /\r\n"
+            + "                                                                
   /____/   ";
     }
 
 }

Modified: 
incubator/directmemory/trunk/examples/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
URL: 
http://svn.apache.org/viewvc/incubator/directmemory/trunk/examples/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java?rev=1226022&r1=1226021&r2=1226022&view=diff
==============================================================================
--- 
incubator/directmemory/trunk/examples/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
 (original)
+++ 
incubator/directmemory/trunk/examples/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
 Sat Dec 31 01:55:23 2011
@@ -1,20 +1,23 @@
-/**
- * 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
+package org.apache.directmemory.examples.solr;
+
+/*
+ * 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,
- * 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.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
-package org.apache.directmemory.examples.solr;
 
 import org.apache.directmemory.cache.Cache;
 import org.apache.directmemory.measures.Ram;


Reply via email to