cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r686647 - /cocoon/trunk/subprojects/cocoon-block-deployment/src/main/java/org/apache/cocoon/blockdeployment/DefaultBlockResourcesHolder.java
Date Sun, 17 Aug 2008 21:57:38 GMT
Author: reinhard
Date: Sun Aug 17 14:57:37 2008
New Revision: 686647

URL: http://svn.apache.org/viewvc?rev=686647&view=rev
Log:
- add license header
- formatting

Modified:
    cocoon/trunk/subprojects/cocoon-block-deployment/src/main/java/org/apache/cocoon/blockdeployment/DefaultBlockResourcesHolder.java

Modified: cocoon/trunk/subprojects/cocoon-block-deployment/src/main/java/org/apache/cocoon/blockdeployment/DefaultBlockResourcesHolder.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/subprojects/cocoon-block-deployment/src/main/java/org/apache/cocoon/blockdeployment/DefaultBlockResourcesHolder.java?rev=686647&r1=686646&r2=686647&view=diff
==============================================================================
--- cocoon/trunk/subprojects/cocoon-block-deployment/src/main/java/org/apache/cocoon/blockdeployment/DefaultBlockResourcesHolder.java
(original)
+++ cocoon/trunk/subprojects/cocoon-block-deployment/src/main/java/org/apache/cocoon/blockdeployment/DefaultBlockResourcesHolder.java
Sun Aug 17 14:57:37 2008
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.cocoon.blockdeployment;
 
 import java.util.Map;
@@ -6,11 +22,11 @@
 
 public class DefaultBlockResourcesHolder implements BlockResourcesHolder,
         org.apache.cocoon.spring.configurator.BlockResourcesHolder {
-    
+
     ServletContext servletContext;
 
     public Map getBlockContexts() {
-        return (Map)servletContext.getAttribute(BlockDeploymentServletContextListener.BLOCK_CONTEXT_MAP);
+        return (Map) servletContext.getAttribute(BlockDeploymentServletContextListener.BLOCK_CONTEXT_MAP);
     }
 
     public ServletContext getServletContext() {
@@ -20,5 +36,4 @@
     public void setServletContext(ServletContext servletContext) {
         this.servletContext = servletContext;
     }
-
 }



Mime
View raw message