[4/5] tomee git commit: Licenses
Licenses Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b3aec94d Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b3aec94d Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b3aec94d Branch: refs/heads/tomee-1.7.3-prepare Commit: b3aec94deacb28473b0ad55464ba319d57fbabd2 Parents: db5bf16 Author: AndyGee Authored: Thu Dec 3 04:33:24 2015 +0100 Committer: AndyGee Committed: Thu Dec 3 04:33:24 2015 +0100 -- .../activemq/ConnectionFactoryWrapper.java | 24 .../resource/activemq/ConnectionWrapper.java| 24 .../resource/activemq/SessionWrapper.java | 24 3 files changed, 45 insertions(+), 27 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/b3aec94d/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java index 6e024e9..2ade6f2 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java @@ -1,12 +1,18 @@ -/** - * Tomitribe Confidential - * - * Copyright(c) Tomitribe Corporation. 2014 - * - * 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. - * +/* + * 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.resource.activemq; http://git-wip-us.apache.org/repos/asf/tomee/blob/b3aec94d/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java index fe86874..1618b83 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java @@ -1,12 +1,18 @@ -/** - * Tomitribe Confidential - * - * Copyright(c) Tomitribe Corporation. 2014 - * - * 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. - * +/* + * 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.resource.activemq; http://git-wip-us.apache.org/repos/asf/tomee/blob/b3aec94d/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/SessionWrapper.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/SessionWrapper.java b/container/openejb-core/src/main/java/org/apache
tomee git commit: Licenses
Repository: tomee Updated Branches: refs/heads/tomee-1.7.x db5bf1631 -> b3aec94de Licenses Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b3aec94d Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b3aec94d Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b3aec94d Branch: refs/heads/tomee-1.7.x Commit: b3aec94deacb28473b0ad55464ba319d57fbabd2 Parents: db5bf16 Author: AndyGee Authored: Thu Dec 3 04:33:24 2015 +0100 Committer: AndyGee Committed: Thu Dec 3 04:33:24 2015 +0100 -- .../activemq/ConnectionFactoryWrapper.java | 24 .../resource/activemq/ConnectionWrapper.java| 24 .../resource/activemq/SessionWrapper.java | 24 3 files changed, 45 insertions(+), 27 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/b3aec94d/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java index 6e024e9..2ade6f2 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionFactoryWrapper.java @@ -1,12 +1,18 @@ -/** - * Tomitribe Confidential - * - * Copyright(c) Tomitribe Corporation. 2014 - * - * 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. - * +/* + * 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.resource.activemq; http://git-wip-us.apache.org/repos/asf/tomee/blob/b3aec94d/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java index fe86874..1618b83 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/ConnectionWrapper.java @@ -1,12 +1,18 @@ -/** - * Tomitribe Confidential - * - * Copyright(c) Tomitribe Corporation. 2014 - * - * 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. - * +/* + * 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.resource.activemq; http://git-wip-us.apache.org/repos/asf/tomee/blob/b3aec94d/container/openejb-core/src/main/java/org/apache/openejb/resource/activemq/SessionWrapper.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/ac
[6/6] tomee git commit: Licenses & rat
Licenses & rat Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/f4e5fe48 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/f4e5fe48 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/f4e5fe48 Branch: refs/heads/tomee-7.0.0-M1 Commit: f4e5fe48ec2eb17ebd5d1dc601b5fb9669752e12 Parents: b3ad8f5 Author: andygumbre...@apache.org Authored: Tue Jun 16 10:02:24 2015 +0200 Committer: andygumbre...@apache.org Committed: Tue Jun 16 10:02:24 2015 +0200 -- .gitignore | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/f4e5fe48/.gitignore -- diff --git a/.gitignore b/.gitignore index 6fe2ebd..9bbb2a3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ quick.bat /tomee/tomee-plume-webapp/overlays/ /tomee/tomee-plus-webapp/overlays/ /temp +/report.txt
[4/6] tomee git commit: Licenses & rat.xml
Licenses & rat.xml Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/43581f48 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/43581f48 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/43581f48 Branch: refs/heads/tomee-7.0.0-M1 Commit: 43581f4899f454910fa583b7c8d099d5297aa5e0 Parents: 49fc65c Author: andygumbre...@apache.org Authored: Tue Jun 16 09:58:17 2015 +0200 Committer: andygumbre...@apache.org Committed: Tue Jun 16 09:58:17 2015 +0200 -- .../org/apache/openejb/util/OutputScanner.java | 207 +-- .../openejb/assembler/DeployerEjbTest.java | 16 ++ .../apache/openejb/junit/ScopesRuleTest.java| 16 ++ .../openejb/util/ReversePasswordCipher.java | 16 ++ .../main/java/org/apache/openejb/jee/Scan.java | 24 ++- .../org/apache/openejb/loader/FilesTest.java| 16 ++ .../test/resources/datasets/expected-users.yml | 14 ++ .../src/test/resources/datasets/users.yml | 14 ++ .../openejb/maven/util/XmlFormatterTest.java| 16 ++ rat.xml | 13 ++ 10 files changed, 240 insertions(+), 112 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/43581f48/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java b/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java index 44ef6ba..caadffe 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java @@ -1,104 +1,103 @@ -/* - * 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; - -import org.codehaus.swizzle.stream.ScanBuffer; - -import java.io.FilterOutputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.TimeUnit; - -/** - * @version $Rev$ $Date$ - */ -public class OutputScanner extends FilterOutputStream { - -private final CountDownLatch found = new CountDownLatch(1); - -public OutputScanner(final OutputStream out, final String scanString) { -super(null); -this.out = new Scan(out, scanString); -} - -public class Scan extends FilterOutputStream { - -private final ScanBuffer scan; - -public Scan(final OutputStream out, final String scanString) { -super(out); -scan = new ScanBuffer(scanString); -} - -@Override -public void write(final int b) throws IOException { -check(b); -super.write(b); -} - -@Override -public void write(final byte[] bytes) throws IOException { -for (final byte b : bytes) { -check(b); -} -super.write(bytes); -} - -@Override -public void write(final byte[] bytes, final int off, final int len) throws IOException { -for (int i = off; i < len; i++) { -check(bytes[i]); -} -super.write(bytes, off, len); -} - -private void check(final int b) { -scan.append(b); -if (scan.match()) { -// Cut ourselves out of the call chain. -// -// This works because -// - ScanningOutputStreamFilter.this.out == this -// - this.out != this) -// -// Our parent is delegating to us and we are delegating -// to the actual OutputStream -// -// To cut ourselves out of the call chain and eliminate -// the overhead of checking the ScanBuffer, we set our -// parent to not delegate to us and to instead delegate -// to the actual OutputStream. - -
tomee git commit: Licenses & rat.xml
Repository: tomee Updated Branches: refs/heads/master 49fc65c85 -> 43581f489 Licenses & rat.xml Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/43581f48 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/43581f48 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/43581f48 Branch: refs/heads/master Commit: 43581f4899f454910fa583b7c8d099d5297aa5e0 Parents: 49fc65c Author: andygumbre...@apache.org Authored: Tue Jun 16 09:58:17 2015 +0200 Committer: andygumbre...@apache.org Committed: Tue Jun 16 09:58:17 2015 +0200 -- .../org/apache/openejb/util/OutputScanner.java | 207 +-- .../openejb/assembler/DeployerEjbTest.java | 16 ++ .../apache/openejb/junit/ScopesRuleTest.java| 16 ++ .../openejb/util/ReversePasswordCipher.java | 16 ++ .../main/java/org/apache/openejb/jee/Scan.java | 24 ++- .../org/apache/openejb/loader/FilesTest.java| 16 ++ .../test/resources/datasets/expected-users.yml | 14 ++ .../src/test/resources/datasets/users.yml | 14 ++ .../openejb/maven/util/XmlFormatterTest.java| 16 ++ rat.xml | 13 ++ 10 files changed, 240 insertions(+), 112 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/43581f48/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java b/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java index 44ef6ba..caadffe 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/util/OutputScanner.java @@ -1,104 +1,103 @@ -/* - * 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; - -import org.codehaus.swizzle.stream.ScanBuffer; - -import java.io.FilterOutputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.TimeUnit; - -/** - * @version $Rev$ $Date$ - */ -public class OutputScanner extends FilterOutputStream { - -private final CountDownLatch found = new CountDownLatch(1); - -public OutputScanner(final OutputStream out, final String scanString) { -super(null); -this.out = new Scan(out, scanString); -} - -public class Scan extends FilterOutputStream { - -private final ScanBuffer scan; - -public Scan(final OutputStream out, final String scanString) { -super(out); -scan = new ScanBuffer(scanString); -} - -@Override -public void write(final int b) throws IOException { -check(b); -super.write(b); -} - -@Override -public void write(final byte[] bytes) throws IOException { -for (final byte b : bytes) { -check(b); -} -super.write(bytes); -} - -@Override -public void write(final byte[] bytes, final int off, final int len) throws IOException { -for (int i = off; i < len; i++) { -check(bytes[i]); -} -super.write(bytes, off, len); -} - -private void check(final int b) { -scan.append(b); -if (scan.match()) { -// Cut ourselves out of the call chain. -// -// This works because -// - ScanningOutputStreamFilter.this.out == this -// - this.out != this) -// -// Our parent is delegating to us and we are delegating -// to the actual OutputStream -// -// To cut ourselves out of the call chain and eliminate -// the overhead of checking the ScanBuffer, we set our -// parent to not delegate to us and to in