You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Andreas Veithen <an...@gmail.com> on 2009/01/06 22:18:05 UTC

Re: svn commit: r732122 - in /webservices/commons/trunk/modules/axiom/modules: axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/ axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/ axiom-c14n/src/test/java/org/apache/ax

Looks like we should also set the svn:eol-style property on all Java
files (see e.g. the DataHandlerExt diff).

Andreas

On Tue, Jan 6, 2009 at 22:14,  <ga...@apache.org> wrote:
> Author: gawor
> Date: Tue Jan  6 13:14:37 2009
> New Revision: 732122
>
> URL: http://svn.apache.org/viewvc?rev=732122&view=rev
> Log:
> add license headers
>
> Modified:
>    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/DataHandlerExtImpl.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/AttrImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/CommentImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/DocumentImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/ElementImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NamedNodeMapImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NodeListImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/TextImplTest.java
>    webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/llom/util/AXIOMUtilTest.java
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java Tue Jan  6 13:14:37 2009
> @@ -1,31 +1,50 @@
> -package org.apache.axiom.attachments.lifecycle;
> -
> -import java.io.IOException;
> -
> -public interface DataHandlerExt {
> -
> -       /**
> -        * This method will give users an option to trigger a purge
> -        * on temporary attachment files. Temp files are created for
> -        * attachment data that is greater than a threshold limit.
> -        * On client side These temp attachment files are not deleted
> -        * untilthe virtual machine exits as user can choose to read
> -        * this dataHandler. So if user is not going to use the data
> -        * handlers provided on this temproray files they can choose
> -        * to purge the file.
> -        */
> -       public void purgeDataSource() throws IOException;
> -
> -       /**
> -        * This method will give users an option to trigger a delete on
> -        * temporary attachment file when DataHandler associated with the
> -        * attachment is read once. Temp files are created for
> -        * attachment data that is greater than a threshold limit.
> -        * On client side These temp attachment files are not deleted untill
> -        * the virtual machine exits. This method gives options to user to
> -        * trigger a delete on attachment files when they read the dataHandler
> -        * once.
> -        */
> -
> -       public void deleteWhenReadOnce() throws IOException;
> -}
> +/*
> + * 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.axiom.attachments.lifecycle;
> +
> +import java.io.IOException;
> +
> +public interface DataHandlerExt {
> +
> +       /**
> +        * This method will give users an option to trigger a purge
> +        * on temporary attachment files. Temp files are created for
> +        * attachment data that is greater than a threshold limit.
> +        * On client side These temp attachment files are not deleted
> +        * untilthe virtual machine exits as user can choose to read
> +        * this dataHandler. So if user is not going to use the data
> +        * handlers provided on this temproray files they can choose
> +        * to purge the file.
> +        */
> +       public void purgeDataSource() throws IOException;
> +
> +       /**
> +        * This method will give users an option to trigger a delete on
> +        * temporary attachment file when DataHandler associated with the
> +        * attachment is read once. Temp files are created for
> +        * attachment data that is greater than a threshold limit.
> +        * On client side These temp attachment files are not deleted untill
> +        * the virtual machine exits. This method gives options to user to
> +        * trigger a delete on attachment files when they read the dataHandler
> +        * once.
> +        */
> +
> +       public void deleteWhenReadOnce() throws IOException;
> +}
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/DataHandlerExtImpl.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/DataHandlerExtImpl.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/DataHandlerExtImpl.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/DataHandlerExtImpl.java Tue Jan  6 13:14:37 2009
> @@ -1,105 +1,124 @@
> -package org.apache.axiom.attachments.lifecycle.impl;
> -
> -import java.io.File;
> -import java.io.IOException;
> -import java.util.Observable;
> -import java.util.Observer;
> -
> -import javax.activation.DataHandler;
> -import javax.activation.DataSource;
> -
> -import org.apache.axiom.attachments.CachedFileDataSource;
> -import org.apache.axiom.attachments.lifecycle.DataHandlerExt;
> -import org.apache.axiom.attachments.lifecycle.LifecycleManager;
> -import org.apache.commons.logging.Log;
> -import org.apache.commons.logging.LogFactory;
> -
> -public class DataHandlerExtImpl extends DataHandler implements
> -               DataHandlerExt, Observer {
> -
> -       private static final Log log = LogFactory.getLog(DataHandlerExtImpl.class);
> -       private DataHandler dataHandler = null;
> -       private LifecycleManager manager = null;
> -       private static int READ_COUNT = 1;
> -       private boolean deleteOnreadOnce = false;
> -       public DataHandlerExtImpl(DataHandler dataHandler, LifecycleManager manager){
> -               super(dataHandler.getDataSource());
> -               this.dataHandler = dataHandler;
> -               this.manager = manager;
> -       }
> -
> -       public void deleteWhenReadOnce() throws IOException {
> -               deleteOnreadOnce = true;
> -               FileAccessor fa =manager.getFileAccessor(getName());
> -               if(fa==null){
> -                       log.warn("Could not find FileAccessor, delete on readOnce Failed");
> -                       return;
> -               }
> -               if(fa.getAccessCount() >= READ_COUNT){
> -                       purgeDataSource();
> -               }else{
> -                       fa.addObserver(this);
> -               }
> -       }
> -
> -       public void purgeDataSource() throws IOException {
> -               if(log.isDebugEnabled()){
> -                       log.debug("Start purgeDataSource");
> -               }
> -               File file = getFile();
> -               if(file!=null){
> -                       //Invoke delete from LifecycleManager
> -                       manager.delete(file);
> -                       //If file was registered with VMShutdown hook
> -                       //lets remove it from the list to be deleted on VMExit.
> -                       VMShutdownHook hook =VMShutdownHook.hook();
> -                       if(hook.isRegistered()){
> -                               hook.remove(file);
> -                       }
> -                       if(log.isDebugEnabled()){
> -                               log.debug("File Purged and removed from Shutdown Hook Collection");
> -                       }
> -               }else{
> -                       if(log.isDebugEnabled()){
> -                               log.debug("DataSource is not a CachedFileDataSource, Unable to Purge.");
> -                       }
> -               }
> -
> -               if(log.isDebugEnabled()){
> -                       log.debug("End purgeDataSource");
> -               }
> -       }
> -
> -       public void update(Observable o, Object arg) {
> -               try{
> -                       if(log.isDebugEnabled()){
> -                               log.debug("Start update in Observer");
> -                       }
> -                       if(o instanceof FileAccessor){
> -                               FileAccessor fa = (FileAccessor)o;
> -                               if(deleteOnreadOnce && fa.getAccessCount()>=READ_COUNT){
> -                                       purgeDataSource();
> -                               }
> -                       }
> -               }catch(IOException e){
> -                       if(log.isDebugEnabled()){
> -                               log.debug("delete on readOnce Failed");
> -                       }
> -                       log.warn("delete on readOnce Failed with IOException in Observer"+e.getMessage());
> -               }
> -               if(log.isDebugEnabled()){
> -                       log.debug("End update in Observer");
> -               }
> -       }
> -
> -       private File getFile(){
> -               //get DataSource from DataHandler
> -               DataSource dataSource = dataHandler.getDataSource();
> -               if(dataSource instanceof CachedFileDataSource){
> -                       CachedFileDataSource cds = (CachedFileDataSource)dataSource;
> -                       //get the file object from data source.
> -                       return cds.getFile();
> -               }
> -               return null;
> -       }
> -}
> +/*
> + * 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.axiom.attachments.lifecycle.impl;
> +
> +import java.io.File;
> +import java.io.IOException;
> +import java.util.Observable;
> +import java.util.Observer;
> +
> +import javax.activation.DataHandler;
> +import javax.activation.DataSource;
> +
> +import org.apache.axiom.attachments.CachedFileDataSource;
> +import org.apache.axiom.attachments.lifecycle.DataHandlerExt;
> +import org.apache.axiom.attachments.lifecycle.LifecycleManager;
> +import org.apache.commons.logging.Log;
> +import org.apache.commons.logging.LogFactory;
> +
> +public class DataHandlerExtImpl extends DataHandler implements
> +               DataHandlerExt, Observer {
> +
> +       private static final Log log = LogFactory.getLog(DataHandlerExtImpl.class);
> +       private DataHandler dataHandler = null;
> +       private LifecycleManager manager = null;
> +       private static int READ_COUNT = 1;
> +       private boolean deleteOnreadOnce = false;
> +       public DataHandlerExtImpl(DataHandler dataHandler, LifecycleManager manager){
> +               super(dataHandler.getDataSource());
> +               this.dataHandler = dataHandler;
> +               this.manager = manager;
> +       }
> +
> +       public void deleteWhenReadOnce() throws IOException {
> +               deleteOnreadOnce = true;
> +               FileAccessor fa =manager.getFileAccessor(getName());
> +               if(fa==null){
> +                       log.warn("Could not find FileAccessor, delete on readOnce Failed");
> +                       return;
> +               }
> +               if(fa.getAccessCount() >= READ_COUNT){
> +                       purgeDataSource();
> +               }else{
> +                       fa.addObserver(this);
> +               }
> +       }
> +
> +       public void purgeDataSource() throws IOException {
> +               if(log.isDebugEnabled()){
> +                       log.debug("Start purgeDataSource");
> +               }
> +               File file = getFile();
> +               if(file!=null){
> +                       //Invoke delete from LifecycleManager
> +                       manager.delete(file);
> +                       //If file was registered with VMShutdown hook
> +                       //lets remove it from the list to be deleted on VMExit.
> +                       VMShutdownHook hook =VMShutdownHook.hook();
> +                       if(hook.isRegistered()){
> +                               hook.remove(file);
> +                       }
> +                       if(log.isDebugEnabled()){
> +                               log.debug("File Purged and removed from Shutdown Hook Collection");
> +                       }
> +               }else{
> +                       if(log.isDebugEnabled()){
> +                               log.debug("DataSource is not a CachedFileDataSource, Unable to Purge.");
> +                       }
> +               }
> +
> +               if(log.isDebugEnabled()){
> +                       log.debug("End purgeDataSource");
> +               }
> +       }
> +
> +       public void update(Observable o, Object arg) {
> +               try{
> +                       if(log.isDebugEnabled()){
> +                               log.debug("Start update in Observer");
> +                       }
> +                       if(o instanceof FileAccessor){
> +                               FileAccessor fa = (FileAccessor)o;
> +                               if(deleteOnreadOnce && fa.getAccessCount()>=READ_COUNT){
> +                                       purgeDataSource();
> +                               }
> +                       }
> +               }catch(IOException e){
> +                       if(log.isDebugEnabled()){
> +                               log.debug("delete on readOnce Failed");
> +                       }
> +                       log.warn("delete on readOnce Failed with IOException in Observer"+e.getMessage());
> +               }
> +               if(log.isDebugEnabled()){
> +                       log.debug("End update in Observer");
> +               }
> +       }
> +
> +       private File getFile(){
> +               //get DataSource from DataHandler
> +               DataSource dataSource = dataHandler.getDataSource();
> +               if(dataSource instanceof CachedFileDataSource){
> +                       CachedFileDataSource cds = (CachedFileDataSource)dataSource;
> +                       //get the file object from data source.
> +                       return cds.getFile();
> +               }
> +               return null;
> +       }
> +}
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/AttrImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/AttrImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/AttrImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/AttrImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.factory.WrapperFactory;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/CommentImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/CommentImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/CommentImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/CommentImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.interfaces.Comment;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/DocumentImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/DocumentImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/DocumentImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/DocumentImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.interfaces.NodeList;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/ElementImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/ElementImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/ElementImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/ElementImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.interfaces.Element;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NamedNodeMapImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NamedNodeMapImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NamedNodeMapImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NamedNodeMapImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.interfaces.NamedNodeMap;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NodeListImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NodeListImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NodeListImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NodeListImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.interfaces.NodeList;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/TextImplTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/TextImplTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/TextImplTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/TextImplTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.c14n.omwrapper;
>
>  import org.apache.axiom.c14n.omwrapper.interfaces.NodeList;
>
> Modified: webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/llom/util/AXIOMUtilTest.java
> URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/llom/util/AXIOMUtilTest.java?rev=732122&r1=732121&r2=732122&view=diff
> ==============================================================================
> --- webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/llom/util/AXIOMUtilTest.java (original)
> +++ webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/llom/util/AXIOMUtilTest.java Tue Jan  6 13:14:37 2009
> @@ -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.
> + */
> +
>  package org.apache.axiom.om.impl.llom.util;
>
>  import javax.xml.stream.XMLStreamException;
>
>
>

Re: svn commit: r732122 - in /webservices/commons/trunk/modules/axiom/modules: axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/ axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/ axiom-c14n/src/test/java/org/apache/ax

Posted by Jarek Gawor <jg...@gmail.com>.
Yep, it's done.

Jarek

On Tue, Jan 6, 2009 at 4:18 PM, Andreas Veithen
<an...@gmail.com> wrote:
> Looks like we should also set the svn:eol-style property on all Java
> files (see e.g. the DataHandlerExt diff).
>
> Andreas
>
> On Tue, Jan 6, 2009 at 22:14,  <ga...@apache.org> wrote:
>> Author: gawor
>> Date: Tue Jan  6 13:14:37 2009
>> New Revision: 732122
>>
>> URL: http://svn.apache.org/viewvc?rev=732122&view=rev
>> Log:
>> add license headers
>>
>> Modified:
>>    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/DataHandlerExt.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/lifecycle/impl/DataHandlerExtImpl.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/AttrImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/CommentImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/DocumentImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/ElementImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NamedNodeMapImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/NodeListImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-c14n/src/test/java/org/apache/axiom/c14n/omwrapper/TextImplTest.java
>>    webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/llom/util/AXIOMUtilTest.java