roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r415883 - in /incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core: ParsedRequest.java WeblogPageRequest.java WeblogRequest.java
Date Wed, 21 Jun 2006 03:16:42 GMT
Author: agilliland
Date: Tue Jun 20 20:16:42 2006
New Revision: 415883

URL: http://svn.apache.org/viewvc?rev=415883&view=rev
Log:
code reformatting.


Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/ParsedRequest.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogPageRequest.java
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogRequest.java

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/ParsedRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/ParsedRequest.java?rev=415883&r1=415882&r2=415883&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/ParsedRequest.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/ParsedRequest.java
Tue Jun 20 20:16:42 2006
@@ -1,24 +1,19 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-*  contributor license agreements.  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.  For additional information regarding
-* copyright in this work, please see the NOTICE file in the top level
-* directory of this distribution.
-*/
-/*
- * WeblogRequest.java
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  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
  *
- * Created on November 7, 2005, 12:29 PM
+ *     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.  For additional information regarding
+ * copyright in this work, please see the NOTICE file in the top level
+ * directory of this distribution.
  */
 
 package org.apache.roller.ui.core;
@@ -37,8 +32,6 @@
  * which require a trip to the db.  Those operations should be used very, very
  * sparingly and should only be triggered when it's guaranteed that they are
  * needed.
- *
- * @author Allen Gilliland
  */
 public abstract class ParsedRequest {
     
@@ -79,7 +72,7 @@
             Locale locale = LanguageUtil.getViewLocale(request);
             this.language = locale.getLanguage();
         }
-
+        
         return this.language;
     }
     
@@ -92,7 +85,7 @@
     public boolean isLoggedIn() {
         return (this.authenticUser != null);
     }
-
+    
     
     public HttpServletRequest getRequest() {
         return this.request;

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogPageRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogPageRequest.java?rev=415883&r1=415882&r2=415883&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogPageRequest.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogPageRequest.java
Tue Jun 20 20:16:42 2006
@@ -1,24 +1,19 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-*  contributor license agreements.  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.  For additional information regarding
-* copyright in this work, please see the NOTICE file in the top level
-* directory of this distribution.
-*/
-/*
- * WeblogRequest.java
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  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
  *
- * Created on November 5, 2005, 12:05 PM
+ *     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.  For additional information regarding
+ * copyright in this work, please see the NOTICE file in the top level
+ * directory of this distribution.
  */
 
 package org.apache.roller.ui.core;
@@ -38,13 +33,11 @@
 
 /**
  * Represents a request for a Roller weblog page.
- * 
+ *
  * any url from ... /page/*
- * 
+ *
  * We use this class as a helper to parse an incoming url and sort out the
  * information embedded in the url for later use.
- * 
- * @author Allen Gilliland
  */
 public class WeblogPageRequest extends ParsedRequest {
     
@@ -186,38 +179,38 @@
             this.weblogCategory = cat;
             this.pageType = ARCHIVE;
         }
-
+        
     }
     
     
     private boolean isValidDateString(String dateString) {
         return (dateString != null && dateString.length() > 3 && StringUtils.isNumeric(dateString));
     }
-
+    
     public String getContext() {
         return context;
     }
-
+    
     public String getWeblogHandle() {
         return weblogHandle;
     }
-
+    
     public String getWeblogAnchor() {
         return weblogAnchor;
     }
-
+    
     public String getWeblogPage() {
         return weblogPage;
     }
-
+    
     public String getWeblogCategory() {
         return weblogCategory;
     }
-
+    
     public String getWeblogDate() {
         return weblogDate;
     }
-
+    
     public String getPageType() {
         return pageType;
     }

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogRequest.java?rev=415883&r1=415882&r2=415883&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogRequest.java
(original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/core/WeblogRequest.java
Tue Jun 20 20:16:42 2006
@@ -1,24 +1,19 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-*  contributor license agreements.  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.  For additional information regarding
-* copyright in this work, please see the NOTICE file in the top level
-* directory of this distribution.
-*/
-/*
- * WeblogRequest.java
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  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
  *
- * Created on December 14, 2005, 6:14 PM
+ *     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.  For additional information regarding
+ * copyright in this work, please see the NOTICE file in the top level
+ * directory of this distribution.
  */
 
 package org.apache.roller.ui.core;
@@ -31,8 +26,6 @@
  *
  * This is a fairly generic parsed request which is only trying to figure out
  * the weblog handle that this request is destined for.
- *
- * @author Allen Gilliland
  */
 public class WeblogRequest extends ParsedRequest {
     
@@ -64,7 +57,7 @@
             throw new InvalidRequestException("not a weblog request, "+request.getRequestURL());
         }
     }
-
+    
     
     public String getWeblogHandle() {
         return weblogHandle;



Mime
View raw message