This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomee.git
commit cc2119f6aba4bc1feb28a11af1b6cfc4ad351c52 Author: Tichov Zoltán <[email protected]> AuthorDate: Sat May 14 10:47:38 2022 +0200 Restore import order in JeeTest.java Insert license header into web-fragment-example.xml --- .../src/test/java/org/apache/openejb/jee/JeeTest.java | 19 ++++++++++--------- .../src/test/resources/web-fragment-example.xml | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/container/openejb-jee/src/test/java/org/apache/openejb/jee/JeeTest.java b/container/openejb-jee/src/test/java/org/apache/openejb/jee/JeeTest.java index 6219b844c3..edae556a2d 100644 --- a/container/openejb-jee/src/test/java/org/apache/openejb/jee/JeeTest.java +++ b/container/openejb-jee/src/test/java/org/apache/openejb/jee/JeeTest.java @@ -18,15 +18,6 @@ package org.apache.openejb.jee; -import jakarta.xml.bind.*; -import java.io.*; -import java.util.List; -import java.util.Properties; -import javax.xml.XMLConstants; -import javax.xml.namespace.QName; -import javax.xml.parsers.SAXParser; -import javax.xml.parsers.SAXParserFactory; -import javax.xml.transform.sax.SAXSource; import junit.framework.TestCase; import org.xml.sax.Attributes; import org.xml.sax.InputSource; @@ -34,6 +25,16 @@ import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLFilterImpl; +import javax.xml.XMLConstants; +import jakarta.xml.bind.*; +import javax.xml.namespace.QName; +import javax.xml.parsers.SAXParser; +import javax.xml.parsers.SAXParserFactory; +import javax.xml.transform.sax.SAXSource; +import java.io.*; +import java.util.List; +import java.util.Properties; + /** * @version $Revision$ $Date$ */ diff --git a/container/openejb-jee/src/test/resources/web-fragment-example.xml b/container/openejb-jee/src/test/resources/web-fragment-example.xml index 7c18326fa3..dd4ba6747e 100644 --- a/container/openejb-jee/src/test/resources/web-fragment-example.xml +++ b/container/openejb-jee/src/test/resources/web-fragment-example.xml @@ -1,4 +1,22 @@ <?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. + --> + + <!-- $Rev$ $Date$ --> + <web-fragment xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
