You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2014/07/24 16:25:29 UTC
svn commit: r1613143 - in /tomee/tomee/branches/tomee-1.7.x:
container/openejb-core/src/test/java/org/apache/openejb/util/NetworkUtilTest.java
rat.xml
tck/tck-common/src/main/java/org/apache/openejb/tck/util/ServerLocal.java
Author: andygumbrecht
Date: Thu Jul 24 14:25:29 2014
New Revision: 1613143
URL: http://svn.apache.org/r1613143
Log:
RAT
Modified:
tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/util/NetworkUtilTest.java
tomee/tomee/branches/tomee-1.7.x/rat.xml
tomee/tomee/branches/tomee-1.7.x/tck/tck-common/src/main/java/org/apache/openejb/tck/util/ServerLocal.java
Modified: tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/util/NetworkUtilTest.java
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/util/NetworkUtilTest.java?rev=1613143&r1=1613142&r2=1613143&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/util/NetworkUtilTest.java (original)
+++ tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/util/NetworkUtilTest.java Thu Jul 24 14:25:29 2014
@@ -1,12 +1,19 @@
/**
- * Tomitribe Confidential
- * <p/>
- * Copyright(c) Tomitribe Corporation. 2014
- * <p/>
- * The source code for this program is not published or otherwise divested
- * of its trade secrets, irrespective of what has been deposited with the
- * U.S. Copyright Office.
- * <p/>
+ *
+ * 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.openejb.util;
@@ -32,8 +39,9 @@ public class NetworkUtilTest {
public void run() {
final int nextAvailablePort = NetworkUtil.getNextAvailablePort();
if (list.contains(nextAvailablePort)) {
- if ((System.currentTimeMillis() - start) > 10000)
+ if ((System.currentTimeMillis() - start) > 10000) {
Assert.fail("Got a duplicate port with ten seconds");
+ }
} else {
list.add(nextAvailablePort);
}
Modified: tomee/tomee/branches/tomee-1.7.x/rat.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/rat.xml?rev=1613143&r1=1613142&r2=1613143&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/rat.xml (original)
+++ tomee/tomee/branches/tomee-1.7.x/rat.xml Thu Jul 24 14:25:29 2014
@@ -46,6 +46,7 @@
<exclude name="**/*.handlebars"/>
<exclude name="report.txt"/>
+ <exclude name="LIBRARIES"/>
<exclude name="shade/quartz/dependency-reduced-pom.xml"/>
<exclude name="assembly/openejb-lite/dependency-reduced-pom.xml"/>
<exclude name="container/openejb-core/src/test/resources/cdi-login.config"/>
@@ -81,6 +82,8 @@
<exclude name="server/openejb-cxf/src/main/resources/META-INF/cxf.extension"/>
<exclude name="server/openejb-cxf-rs/src/main/resources/META-INF/services/javax.ws.rs.ext.RuntimeDelegate"/>
<exclude name="server/openejb-ssh/src/test/key/ssh-key.ser"/>
+ <exclude name="server/openejb-ejbd/activemq-data/**"/>
+ <exclude name="server/openejb-http/activemq-data/**"/>
<exclude name="examples/datasource-ciphered-password/src/test/resources/META-INF/beans.xml"/>
<exclude name="examples/decorators/src/main/resources/META-INF/beans.xml"/>
<exclude name="examples/webapps/rest-example/TODO"/>
Modified: tomee/tomee/branches/tomee-1.7.x/tck/tck-common/src/main/java/org/apache/openejb/tck/util/ServerLocal.java
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/tck/tck-common/src/main/java/org/apache/openejb/tck/util/ServerLocal.java?rev=1613143&r1=1613142&r2=1613143&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/tck/tck-common/src/main/java/org/apache/openejb/tck/util/ServerLocal.java (original)
+++ tomee/tomee/branches/tomee-1.7.x/tck/tck-common/src/main/java/org/apache/openejb/tck/util/ServerLocal.java Thu Jul 24 14:25:29 2014
@@ -1,12 +1,18 @@
-/**
- * Tomitribe Confidential
- * <p/>
- * Copyright(c) Tomitribe Corporation. 2014
- * <p/>
- * The source code for this program is not published or otherwise divested
- * of its trade secrets, irrespective of what has been deposited with the
- * U.S. Copyright Office.
- * <p/>
+/*
+ * 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.openejb.tck.util;