You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by rf...@apache.org on 2010/07/09 11:26:37 UTC
svn commit: r962461 - in /lenya/contributions/2_0_X/modules/xmldiff: config/
java/src/org/apache/lenya/modules/xmldiff/usecases/
java/src/org/apache/lenya/modules/xmldiff/util/
java/test/org/apache/lenya/modules/diff/lcs/
java/test/org/apache/lenya/mod...
Author: rfrovarp
Date: Fri Jul 9 09:26:36 2010
New Revision: 962461
URL: http://svn.apache.org/viewvc?rev=962461&view=rev
Log:
Adding license headers
Modified:
lenya/contributions/2_0_X/modules/xmldiff/config/module.xml
lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/DiffUsecase.java
lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/RevisionsDiffUsecase.java
lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/util/ArrayUtil.java
lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/LcsDiffTest.java
lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test1.xml
lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test2.xml
lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/DiffTest.java
lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test1.xml
lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test2.xml
lenya/contributions/2_0_X/modules/xmldiff/resources/css/diff.css
lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/diffTips.js
lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/revselection.js
Modified: lenya/contributions/2_0_X/modules/xmldiff/config/module.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/config/module.xml?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/config/module.xml (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/config/module.xml Fri Jul 9 09:26:36 2010
@@ -1,3 +1,20 @@
+<!--
+ 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.
+
+-->
<module xmlns="http://apache.org/lenya/module/1.0">
<id>org.apache.lenya.modules.xmldiff</id>
@@ -20,4 +37,4 @@
<description>
This is an XML diff tool
</description>
-</module>
\ No newline at end of file
+</module>
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/DiffUsecase.java
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/DiffUsecase.java?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/DiffUsecase.java (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/DiffUsecase.java Fri Jul 9 09:26:36 2010
@@ -1,3 +1,21 @@
+/*
+ * 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.lenya.modules.xmldiff.usecases;
import java.io.BufferedReader;
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/RevisionsDiffUsecase.java
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/RevisionsDiffUsecase.java?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/RevisionsDiffUsecase.java (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/usecases/RevisionsDiffUsecase.java Fri Jul 9 09:26:36 2010
@@ -1,3 +1,21 @@
+/*
+ * 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.lenya.modules.xmldiff.usecases;
import org.apache.lenya.cms.publication.Document;
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/util/ArrayUtil.java
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/util/ArrayUtil.java?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/util/ArrayUtil.java (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/src/org/apache/lenya/modules/xmldiff/util/ArrayUtil.java Fri Jul 9 09:26:36 2010
@@ -1,3 +1,21 @@
+/*
+ * 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.lenya.modules.xmldiff.util;
import java.util.ArrayList;
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/LcsDiffTest.java
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/LcsDiffTest.java?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/LcsDiffTest.java (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/LcsDiffTest.java Fri Jul 9 09:26:36 2010
@@ -1,3 +1,21 @@
+/*
+ * 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.lenya.modules.diff.lcs;
import java.net.URL;
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test1.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test1.xml?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test1.xml (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test1.xml Fri Jul 9 09:26:36 2010
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?><document>
+<!--
+ 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.
+
+-->
+
<header>
<title>Who we are</title>
</header>
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test2.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test2.xml?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test2.xml (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/lcs/test2.xml Fri Jul 9 09:26:36 2010
@@ -1,5 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<!--
+ 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.
+
+-->
+
<document>
<header>
<title>Who we are</title>
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/DiffTest.java
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/DiffTest.java?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/DiffTest.java (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/DiffTest.java Fri Jul 9 09:26:36 2010
@@ -1,3 +1,21 @@
+/*
+ * 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.lenya.modules.diff.xml;
import java.net.URL;
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test1.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test1.xml?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test1.xml (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test1.xml Fri Jul 9 09:26:36 2010
@@ -1,8 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+
+-->
+
<hello xmlns="http://apache.org/lenya/test/1.0">
<foo/>
<bar>
Hello
<baz a="x"/>
</bar>
-</hello>
\ No newline at end of file
+</hello>
Modified: lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test2.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test2.xml?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test2.xml (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/java/test/org/apache/lenya/modules/diff/xml/test2.xml Fri Jul 9 09:26:36 2010
@@ -1,7 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+
+-->
+
<hello xmlns="http://apache.org/lenya/test/1.0" foo="bar">
<bar>
Hello<baz/>
</bar>
<foo a="b"/>
-</hello>
\ No newline at end of file
+</hello>
Modified: lenya/contributions/2_0_X/modules/xmldiff/resources/css/diff.css
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/resources/css/diff.css?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/resources/css/diff.css (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/resources/css/diff.css Fri Jul 9 09:26:36 2010
@@ -1,4 +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
+ *
+ * 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.
+ *
+ */
+
+
+/*
* Styles for the Tag Diff
*/
span.diff-tag-html {
Modified: lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/diffTips.js
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/diffTips.js?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/diffTips.js (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/diffTips.js Fri Jul 9 09:26:36 2010
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ *
+ */
+
dojo.addOnLoad(
function(){
var changed_node;
Modified: lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/revselection.js
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/revselection.js?rev=962461&r1=962460&r2=962461&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/revselection.js (original)
+++ lenya/contributions/2_0_X/modules/xmldiff/resources/javascript/revselection.js Fri Jul 9 09:26:36 2010
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ *
+ */
function selectChanged(select) {
var rev = select.options[select.selectedIndex].value;
@@ -36,4 +53,4 @@
}
-
\ No newline at end of file
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org