You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ed...@apache.org on 2006/11/21 00:07:31 UTC

svn commit: r477390 - in /jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser: ./ command/ iframeio/

Author: edgarpoce
Date: Mon Nov 20 15:07:30 2006
New Revision: 477390

URL: http://svn.apache.org/viewvc?view=rev&rev=477390
Log:
adding missing license headers to jcr-browser

Modified:
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/JcrSessionListener.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/LoginFilter.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/DateTimeToISO8601.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/FileItemToInputStream.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilter.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilterOutputStream.java
    jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOResponseWrapper.java

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/JcrSessionListener.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/JcrSessionListener.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/JcrSessionListener.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/JcrSessionListener.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser;
 
 import java.io.ByteArrayInputStream;

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/LoginFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/LoginFilter.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/LoginFilter.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/LoginFilter.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser;
 
 import javax.jcr.Session;
@@ -12,6 +28,9 @@
 
 import org.apache.jackrabbit.command.CommandHelper;
 
+/**
+ * Filter that binds the jcr session to http session
+ */
 public class LoginFilter implements Filter {
 
 	public void destroy() {
@@ -23,7 +42,6 @@
 
 		chain.doFilter(request, response);
 
-		// bind jcr session to http session on login
 		try {
 			HttpServletRequest httpRequest = (HttpServletRequest) request;
 			if (httpRequest.getSession()

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/DateTimeToISO8601.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/DateTimeToISO8601.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/DateTimeToISO8601.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/DateTimeToISO8601.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser.command;
 
 import java.text.DateFormat;
@@ -9,6 +25,9 @@
 import org.apache.commons.chain.Context;
 import org.apache.jackrabbit.util.ISO8601;
 
+/**
+ * Convert string date and time in an ISO8601 string
+ */
 public class DateTimeToISO8601 implements Command {
 
 	private DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/FileItemToInputStream.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/FileItemToInputStream.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/FileItemToInputStream.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/FileItemToInputStream.java Mon Nov 20 15:07:30 2006
@@ -1,9 +1,28 @@
+/*
+ * 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.jackrabbit.browser.command;
 
 import org.apache.commons.chain.Command;
 import org.apache.commons.chain.Context;
 import org.apache.commons.fileupload.FileItem;
 
+/**
+ * Puts commons-fileupload FileItem InputStream in a context variable
+ */
 public class FileItemToInputStream implements Command {
 
 	/** file item key */
@@ -40,7 +59,8 @@
 	}
 
 	/**
-	 * @param targetKey the targetKey to set
+	 * @param targetKey
+	 *            the targetKey to set
 	 */
 	public void setTargetKey(String targetKey) {
 		this.targetKey = targetKey;

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser.command;
 
 import java.util.Iterator;

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilter.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilter.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilter.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser.iframeio;
 
 import java.io.IOException;

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilterOutputStream.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilterOutputStream.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilterOutputStream.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOFilterOutputStream.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser.iframeio;
 
 import java.io.DataOutputStream;

Modified: jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOResponseWrapper.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOResponseWrapper.java?view=diff&rev=477390&r1=477389&r2=477390
==============================================================================
--- jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOResponseWrapper.java (original)
+++ jackrabbit/trunk/contrib/jcr-browser/src/main/java/org/apache/jackrabbit/browser/iframeio/IFrameIOResponseWrapper.java Mon Nov 20 15:07:30 2006
@@ -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.jackrabbit.browser.iframeio;
 
 import java.io.ByteArrayOutputStream;