diff --git a/license.txt b/license.txt new file mode 100644 index 00000000..7375b7e8 --- /dev/null +++ b/license.txt @@ -0,0 +1,261 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + +======================================================================= + +SPRING FRAMEWORK 3.1 SUBCOMPONENTS: + +Spring Framework 3.1 includes a number of subcomponents with +separate copyright notices and license terms. The product that +includes this file does not necessarily use all the open source +subcomponents referred to below. Your use of the source +code for these subcomponents is subject to the terms and +conditions of the following licenses. + +>>> asm-2.2.3: + +Copyright (c) 2000-2005 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +Copyright (c) 1999-2009, OW2 Consortium + +======================================================================= + +To the extent any open source subcomponents are licensed under the EPL and/or other +similar licenses that require the source code and/or modifications to +source code to be made available (as would be noted above), you may obtain a +copy of the source code corresponding to the binaries for such open source +components and modifications thereto, if any, (the "Source Files"), by +downloading the Source Files from http://www.springsource.org/download, +or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview +Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All +such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General +Counsel. VMware shall mail a copy of the Source Files to you on a CD or equivalent +physical medium. This offer to obtain a copy of the Source Files is valid for three +years from the date you acquired this Software product. \ No newline at end of file diff --git a/src/main/java/org/springframework/shell/Bootstrap.java b/src/main/java/org/springframework/shell/Bootstrap.java index 2fa03a3f..eab40c7c 100644 --- a/src/main/java/org/springframework/shell/Bootstrap.java +++ b/src/main/java/org/springframework/shell/Bootstrap.java @@ -1,5 +1,17 @@ /* - * Copyright (C) 2011 VMware, Inc. All rights reserved. -- VMware Confidential + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell; diff --git a/src/main/java/org/springframework/shell/SimpleShellCommandLineOptions.java b/src/main/java/org/springframework/shell/SimpleShellCommandLineOptions.java index e3f49856..f89f57de 100644 --- a/src/main/java/org/springframework/shell/SimpleShellCommandLineOptions.java +++ b/src/main/java/org/springframework/shell/SimpleShellCommandLineOptions.java @@ -1,5 +1,17 @@ /* - * Copyright (C) 2011 VMware, Inc. All rights reserved. -- VMware Confidential + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell; diff --git a/src/main/java/org/springframework/shell/commands/EssentialCommands.java b/src/main/java/org/springframework/shell/commands/EssentialCommands.java index a7f0cd45..6012411a 100644 --- a/src/main/java/org/springframework/shell/commands/EssentialCommands.java +++ b/src/main/java/org/springframework/shell/commands/EssentialCommands.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import org.springframework.shell.core.CommandMarker; diff --git a/src/main/java/org/springframework/shell/commands/HelpCommands.java b/src/main/java/org/springframework/shell/commands/HelpCommands.java index 7e79e70e..65d9a2d7 100644 --- a/src/main/java/org/springframework/shell/commands/HelpCommands.java +++ b/src/main/java/org/springframework/shell/commands/HelpCommands.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import org.springframework.beans.BeansException; diff --git a/src/main/java/org/springframework/shell/commands/HintCommands.java b/src/main/java/org/springframework/shell/commands/HintCommands.java index 1a35c491..ba5ffdb4 100644 --- a/src/main/java/org/springframework/shell/commands/HintCommands.java +++ b/src/main/java/org/springframework/shell/commands/HintCommands.java @@ -1,8 +1,22 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.shell.core.CommandMarker; -import org.springframework.shell.core.annotation.CliCommand; import org.springframework.shell.core.annotation.CliOption; import org.springframework.stereotype.Component; diff --git a/src/main/java/org/springframework/shell/commands/HintConverter.java b/src/main/java/org/springframework/shell/commands/HintConverter.java index 54c6eecb..9fea752b 100644 --- a/src/main/java/org/springframework/shell/commands/HintConverter.java +++ b/src/main/java/org/springframework/shell/commands/HintConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import java.util.List; diff --git a/src/main/java/org/springframework/shell/commands/HintOperations.java b/src/main/java/org/springframework/shell/commands/HintOperations.java index 486d0ba0..c55e2262 100644 --- a/src/main/java/org/springframework/shell/commands/HintOperations.java +++ b/src/main/java/org/springframework/shell/commands/HintOperations.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import java.util.SortedSet; diff --git a/src/main/java/org/springframework/shell/commands/OsCommands.java b/src/main/java/org/springframework/shell/commands/OsCommands.java index 8bbe293b..01217c49 100644 --- a/src/main/java/org/springframework/shell/commands/OsCommands.java +++ b/src/main/java/org/springframework/shell/commands/OsCommands.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import java.io.IOException; diff --git a/src/main/java/org/springframework/shell/commands/OsOperations.java b/src/main/java/org/springframework/shell/commands/OsOperations.java index ea664ea6..bba29236 100644 --- a/src/main/java/org/springframework/shell/commands/OsOperations.java +++ b/src/main/java/org/springframework/shell/commands/OsOperations.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import java.io.IOException; diff --git a/src/main/java/org/springframework/shell/commands/OsOperationsImpl.java b/src/main/java/org/springframework/shell/commands/OsOperationsImpl.java index 802957ac..d0ae9515 100644 --- a/src/main/java/org/springframework/shell/commands/OsOperationsImpl.java +++ b/src/main/java/org/springframework/shell/commands/OsOperationsImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import java.io.File; diff --git a/src/main/java/org/springframework/shell/commands/ResourceBundleHintOperations.java b/src/main/java/org/springframework/shell/commands/ResourceBundleHintOperations.java index d34821c6..eb5a187d 100644 --- a/src/main/java/org/springframework/shell/commands/ResourceBundleHintOperations.java +++ b/src/main/java/org/springframework/shell/commands/ResourceBundleHintOperations.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.commands; import java.util.Enumeration; diff --git a/src/main/java/org/springframework/shell/converters/AvailableCommandsConverter.java b/src/main/java/org/springframework/shell/converters/AvailableCommandsConverter.java index ec82e439..35bb57c1 100644 --- a/src/main/java/org/springframework/shell/converters/AvailableCommandsConverter.java +++ b/src/main/java/org/springframework/shell/converters/AvailableCommandsConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/BigDecimalConverter.java b/src/main/java/org/springframework/shell/converters/BigDecimalConverter.java index fd1be436..6327bc75 100644 --- a/src/main/java/org/springframework/shell/converters/BigDecimalConverter.java +++ b/src/main/java/org/springframework/shell/converters/BigDecimalConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.math.BigDecimal; diff --git a/src/main/java/org/springframework/shell/converters/BigIntegerConverter.java b/src/main/java/org/springframework/shell/converters/BigIntegerConverter.java index 99b68b69..dc35a200 100644 --- a/src/main/java/org/springframework/shell/converters/BigIntegerConverter.java +++ b/src/main/java/org/springframework/shell/converters/BigIntegerConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.math.BigInteger; diff --git a/src/main/java/org/springframework/shell/converters/BooleanConverter.java b/src/main/java/org/springframework/shell/converters/BooleanConverter.java index 38ca0e58..164eabc1 100644 --- a/src/main/java/org/springframework/shell/converters/BooleanConverter.java +++ b/src/main/java/org/springframework/shell/converters/BooleanConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/CharacterConverter.java b/src/main/java/org/springframework/shell/converters/CharacterConverter.java index f9604a8e..0e32990e 100644 --- a/src/main/java/org/springframework/shell/converters/CharacterConverter.java +++ b/src/main/java/org/springframework/shell/converters/CharacterConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/DateConverter.java b/src/main/java/org/springframework/shell/converters/DateConverter.java index b32f8f0f..4cf3f0a0 100644 --- a/src/main/java/org/springframework/shell/converters/DateConverter.java +++ b/src/main/java/org/springframework/shell/converters/DateConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.text.DateFormat; diff --git a/src/main/java/org/springframework/shell/converters/DoubleConverter.java b/src/main/java/org/springframework/shell/converters/DoubleConverter.java index 45a944f6..64b9a526 100644 --- a/src/main/java/org/springframework/shell/converters/DoubleConverter.java +++ b/src/main/java/org/springframework/shell/converters/DoubleConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/EnumConverter.java b/src/main/java/org/springframework/shell/converters/EnumConverter.java index 0a127d13..4cc08255 100644 --- a/src/main/java/org/springframework/shell/converters/EnumConverter.java +++ b/src/main/java/org/springframework/shell/converters/EnumConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/FileConverter.java b/src/main/java/org/springframework/shell/converters/FileConverter.java index 07758ae6..5d1e3a94 100644 --- a/src/main/java/org/springframework/shell/converters/FileConverter.java +++ b/src/main/java/org/springframework/shell/converters/FileConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.io.File; diff --git a/src/main/java/org/springframework/shell/converters/FloatConverter.java b/src/main/java/org/springframework/shell/converters/FloatConverter.java index 4539f78b..b8db1e55 100644 --- a/src/main/java/org/springframework/shell/converters/FloatConverter.java +++ b/src/main/java/org/springframework/shell/converters/FloatConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/LocaleConverter.java b/src/main/java/org/springframework/shell/converters/LocaleConverter.java index 38c6bae4..cd389b98 100644 --- a/src/main/java/org/springframework/shell/converters/LocaleConverter.java +++ b/src/main/java/org/springframework/shell/converters/LocaleConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/LongConverter.java b/src/main/java/org/springframework/shell/converters/LongConverter.java index 018e277f..ef441aec 100644 --- a/src/main/java/org/springframework/shell/converters/LongConverter.java +++ b/src/main/java/org/springframework/shell/converters/LongConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/ShortConverter.java b/src/main/java/org/springframework/shell/converters/ShortConverter.java index f4d89836..8a4e8cd2 100644 --- a/src/main/java/org/springframework/shell/converters/ShortConverter.java +++ b/src/main/java/org/springframework/shell/converters/ShortConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/converters/SimpleFileConverter.java b/src/main/java/org/springframework/shell/converters/SimpleFileConverter.java index a57c5906..a1ee107f 100644 --- a/src/main/java/org/springframework/shell/converters/SimpleFileConverter.java +++ b/src/main/java/org/springframework/shell/converters/SimpleFileConverter.java @@ -1,10 +1,24 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.io.File; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.shell.core.Shell; -import org.springframework.stereotype.Component; //@Component public class SimpleFileConverter extends FileConverter { diff --git a/src/main/java/org/springframework/shell/converters/StaticFieldConverter.java b/src/main/java/org/springframework/shell/converters/StaticFieldConverter.java index 4a3e5d82..a155a061 100644 --- a/src/main/java/org/springframework/shell/converters/StaticFieldConverter.java +++ b/src/main/java/org/springframework/shell/converters/StaticFieldConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import org.springframework.shell.core.Converter; diff --git a/src/main/java/org/springframework/shell/converters/StaticFieldConverterImpl.java b/src/main/java/org/springframework/shell/converters/StaticFieldConverterImpl.java index cb31cb07..2e6e2a1d 100644 --- a/src/main/java/org/springframework/shell/converters/StaticFieldConverterImpl.java +++ b/src/main/java/org/springframework/shell/converters/StaticFieldConverterImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.lang.reflect.Field; diff --git a/src/main/java/org/springframework/shell/converters/StringConverter.java b/src/main/java/org/springframework/shell/converters/StringConverter.java index 92d40e3d..8a43c5c2 100644 --- a/src/main/java/org/springframework/shell/converters/StringConverter.java +++ b/src/main/java/org/springframework/shell/converters/StringConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.converters; import java.util.List; diff --git a/src/main/java/org/springframework/shell/core/AbstractShell.java b/src/main/java/org/springframework/shell/core/AbstractShell.java index bca5b453..451b7149 100644 --- a/src/main/java/org/springframework/shell/core/AbstractShell.java +++ b/src/main/java/org/springframework/shell/core/AbstractShell.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import static org.springframework.shell.support.util.StringUtils.LINE_SEPARATOR; diff --git a/src/main/java/org/springframework/shell/core/CliOptionContext.java b/src/main/java/org/springframework/shell/core/CliOptionContext.java index a4aeb31f..550fe2c7 100644 --- a/src/main/java/org/springframework/shell/core/CliOptionContext.java +++ b/src/main/java/org/springframework/shell/core/CliOptionContext.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; /** diff --git a/src/main/java/org/springframework/shell/core/CliSimpleParserContext.java b/src/main/java/org/springframework/shell/core/CliSimpleParserContext.java index 954889bd..8ec68586 100644 --- a/src/main/java/org/springframework/shell/core/CliSimpleParserContext.java +++ b/src/main/java/org/springframework/shell/core/CliSimpleParserContext.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; diff --git a/src/main/java/org/springframework/shell/core/CommandMarker.java b/src/main/java/org/springframework/shell/core/CommandMarker.java index ee74f1df..8f05751a 100644 --- a/src/main/java/org/springframework/shell/core/CommandMarker.java +++ b/src/main/java/org/springframework/shell/core/CommandMarker.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; /** diff --git a/src/main/java/org/springframework/shell/core/Completion.java b/src/main/java/org/springframework/shell/core/Completion.java index 513d4726..9d0496dd 100644 --- a/src/main/java/org/springframework/shell/core/Completion.java +++ b/src/main/java/org/springframework/shell/core/Completion.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import org.springframework.shell.support.util.AnsiEscapeCode; diff --git a/src/main/java/org/springframework/shell/core/Converter.java b/src/main/java/org/springframework/shell/core/Converter.java index 5645053a..b8b5e004 100644 --- a/src/main/java/org/springframework/shell/core/Converter.java +++ b/src/main/java/org/springframework/shell/core/Converter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.util.List; diff --git a/src/main/java/org/springframework/shell/core/ExecutionStrategy.java b/src/main/java/org/springframework/shell/core/ExecutionStrategy.java index 3cbf137b..2510e95f 100644 --- a/src/main/java/org/springframework/shell/core/ExecutionStrategy.java +++ b/src/main/java/org/springframework/shell/core/ExecutionStrategy.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import org.springframework.shell.event.ParseResult; diff --git a/src/main/java/org/springframework/shell/core/ExitShellRequest.java b/src/main/java/org/springframework/shell/core/ExitShellRequest.java index b9014576..9683efdb 100644 --- a/src/main/java/org/springframework/shell/core/ExitShellRequest.java +++ b/src/main/java/org/springframework/shell/core/ExitShellRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; /** diff --git a/src/main/java/org/springframework/shell/core/JLineCompletorAdapter.java b/src/main/java/org/springframework/shell/core/JLineCompletorAdapter.java index 64ef78d9..b47d039f 100644 --- a/src/main/java/org/springframework/shell/core/JLineCompletorAdapter.java +++ b/src/main/java/org/springframework/shell/core/JLineCompletorAdapter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/core/JLineLogHandler.java b/src/main/java/org/springframework/shell/core/JLineLogHandler.java index 8895de66..6597a865 100644 --- a/src/main/java/org/springframework/shell/core/JLineLogHandler.java +++ b/src/main/java/org/springframework/shell/core/JLineLogHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.io.PrintWriter; diff --git a/src/main/java/org/springframework/shell/core/JLineShell.java b/src/main/java/org/springframework/shell/core/JLineShell.java index 8ca40fe4..862e0475 100644 --- a/src/main/java/org/springframework/shell/core/JLineShell.java +++ b/src/main/java/org/springframework/shell/core/JLineShell.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.io.File; diff --git a/src/main/java/org/springframework/shell/core/JLineShellComponent.java b/src/main/java/org/springframework/shell/core/JLineShellComponent.java index fa2f2519..a54c8671 100644 --- a/src/main/java/org/springframework/shell/core/JLineShellComponent.java +++ b/src/main/java/org/springframework/shell/core/JLineShellComponent.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.io.IOException; diff --git a/src/main/java/org/springframework/shell/core/MethodTarget.java b/src/main/java/org/springframework/shell/core/MethodTarget.java index e5fd8d7c..6c7738be 100644 --- a/src/main/java/org/springframework/shell/core/MethodTarget.java +++ b/src/main/java/org/springframework/shell/core/MethodTarget.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.lang.reflect.Method; diff --git a/src/main/java/org/springframework/shell/core/Parser.java b/src/main/java/org/springframework/shell/core/Parser.java index 7bd97d67..2e095407 100644 --- a/src/main/java/org/springframework/shell/core/Parser.java +++ b/src/main/java/org/springframework/shell/core/Parser.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.util.List; diff --git a/src/main/java/org/springframework/shell/core/ParserUtils.java b/src/main/java/org/springframework/shell/core/ParserUtils.java index aa780ace..9f805a06 100644 --- a/src/main/java/org/springframework/shell/core/ParserUtils.java +++ b/src/main/java/org/springframework/shell/core/ParserUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.util.LinkedHashMap; diff --git a/src/main/java/org/springframework/shell/core/Shell.java b/src/main/java/org/springframework/shell/core/Shell.java index 21370022..9dbf06ec 100644 --- a/src/main/java/org/springframework/shell/core/Shell.java +++ b/src/main/java/org/springframework/shell/core/Shell.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.io.File; diff --git a/src/main/java/org/springframework/shell/core/ShellPromptAccessor.java b/src/main/java/org/springframework/shell/core/ShellPromptAccessor.java index bf3c7196..2b3e85a1 100644 --- a/src/main/java/org/springframework/shell/core/ShellPromptAccessor.java +++ b/src/main/java/org/springframework/shell/core/ShellPromptAccessor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; diff --git a/src/main/java/org/springframework/shell/core/SimpleExecutionStrategy.java b/src/main/java/org/springframework/shell/core/SimpleExecutionStrategy.java index 89a425da..d231777a 100644 --- a/src/main/java/org/springframework/shell/core/SimpleExecutionStrategy.java +++ b/src/main/java/org/springframework/shell/core/SimpleExecutionStrategy.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import org.springframework.shell.event.ParseResult; diff --git a/src/main/java/org/springframework/shell/core/SimpleParser.java b/src/main/java/org/springframework/shell/core/SimpleParser.java index 3e504568..062a8b6d 100644 --- a/src/main/java/org/springframework/shell/core/SimpleParser.java +++ b/src/main/java/org/springframework/shell/core/SimpleParser.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/org/springframework/shell/core/annotation/CliAvailabilityIndicator.java b/src/main/java/org/springframework/shell/core/annotation/CliAvailabilityIndicator.java index 9e82c86e..88f82dc8 100644 --- a/src/main/java/org/springframework/shell/core/annotation/CliAvailabilityIndicator.java +++ b/src/main/java/org/springframework/shell/core/annotation/CliAvailabilityIndicator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core.annotation; import java.lang.annotation.ElementType; diff --git a/src/main/java/org/springframework/shell/core/annotation/CliCommand.java b/src/main/java/org/springframework/shell/core/annotation/CliCommand.java index 36ae3ca0..dc633108 100644 --- a/src/main/java/org/springframework/shell/core/annotation/CliCommand.java +++ b/src/main/java/org/springframework/shell/core/annotation/CliCommand.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core.annotation; import java.lang.annotation.ElementType; diff --git a/src/main/java/org/springframework/shell/core/annotation/CliOption.java b/src/main/java/org/springframework/shell/core/annotation/CliOption.java index 03b13ffd..1d3ab0c4 100644 --- a/src/main/java/org/springframework/shell/core/annotation/CliOption.java +++ b/src/main/java/org/springframework/shell/core/annotation/CliOption.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core.annotation; import java.lang.annotation.ElementType; diff --git a/src/main/java/org/springframework/shell/event/AbstractShellStatusPublisher.java b/src/main/java/org/springframework/shell/event/AbstractShellStatusPublisher.java index 7e51d2d0..56bb5b50 100644 --- a/src/main/java/org/springframework/shell/event/AbstractShellStatusPublisher.java +++ b/src/main/java/org/springframework/shell/event/AbstractShellStatusPublisher.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.event; import java.util.Set; diff --git a/src/main/java/org/springframework/shell/event/ParseResult.java b/src/main/java/org/springframework/shell/event/ParseResult.java index b9171c87..47c056cd 100644 --- a/src/main/java/org/springframework/shell/event/ParseResult.java +++ b/src/main/java/org/springframework/shell/event/ParseResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.event; import java.lang.reflect.Method; diff --git a/src/main/java/org/springframework/shell/event/ShellStatus.java b/src/main/java/org/springframework/shell/event/ShellStatus.java index ccb602a9..857e58fa 100644 --- a/src/main/java/org/springframework/shell/event/ShellStatus.java +++ b/src/main/java/org/springframework/shell/event/ShellStatus.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.event; diff --git a/src/main/java/org/springframework/shell/event/ShellStatusListener.java b/src/main/java/org/springframework/shell/event/ShellStatusListener.java index 5963510f..4aaaf97c 100644 --- a/src/main/java/org/springframework/shell/event/ShellStatusListener.java +++ b/src/main/java/org/springframework/shell/event/ShellStatusListener.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.event; /** diff --git a/src/main/java/org/springframework/shell/event/ShellStatusProvider.java b/src/main/java/org/springframework/shell/event/ShellStatusProvider.java index fc1fc644..b3e70310 100644 --- a/src/main/java/org/springframework/shell/event/ShellStatusProvider.java +++ b/src/main/java/org/springframework/shell/event/ShellStatusProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.event; /** diff --git a/src/main/java/org/springframework/shell/support/api/AddOnSearch.java b/src/main/java/org/springframework/shell/support/api/AddOnSearch.java index d99b164b..071b9043 100644 --- a/src/main/java/org/springframework/shell/support/api/AddOnSearch.java +++ b/src/main/java/org/springframework/shell/support/api/AddOnSearch.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.api; import java.util.logging.Logger; diff --git a/src/main/java/org/springframework/shell/support/logging/DeferredLogHandler.java b/src/main/java/org/springframework/shell/support/logging/DeferredLogHandler.java index 78b3f7f8..2d547c78 100644 --- a/src/main/java/org/springframework/shell/support/logging/DeferredLogHandler.java +++ b/src/main/java/org/springframework/shell/support/logging/DeferredLogHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.logging; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/support/logging/HandlerUtils.java b/src/main/java/org/springframework/shell/support/logging/HandlerUtils.java index 9017f783..83c0cb6e 100644 --- a/src/main/java/org/springframework/shell/support/logging/HandlerUtils.java +++ b/src/main/java/org/springframework/shell/support/logging/HandlerUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.logging; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/support/logging/LoggingOutputStream.java b/src/main/java/org/springframework/shell/support/logging/LoggingOutputStream.java index 2794fb9f..4e4c3ed5 100644 --- a/src/main/java/org/springframework/shell/support/logging/LoggingOutputStream.java +++ b/src/main/java/org/springframework/shell/support/logging/LoggingOutputStream.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.logging; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/org/springframework/shell/support/logging/MessageDisplayUtils.java b/src/main/java/org/springframework/shell/support/logging/MessageDisplayUtils.java index 981f0e33..fc646083 100644 --- a/src/main/java/org/springframework/shell/support/logging/MessageDisplayUtils.java +++ b/src/main/java/org/springframework/shell/support/logging/MessageDisplayUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.logging; import java.io.BufferedInputStream; diff --git a/src/main/java/org/springframework/shell/support/util/AnsiEscapeCode.java b/src/main/java/org/springframework/shell/support/util/AnsiEscapeCode.java index 3ae8aada..5dc35dee 100644 --- a/src/main/java/org/springframework/shell/support/util/AnsiEscapeCode.java +++ b/src/main/java/org/springframework/shell/support/util/AnsiEscapeCode.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/AntPatchStringMatcher.java b/src/main/java/org/springframework/shell/support/util/AntPatchStringMatcher.java index 679588a2..c4060e02 100644 --- a/src/main/java/org/springframework/shell/support/util/AntPatchStringMatcher.java +++ b/src/main/java/org/springframework/shell/support/util/AntPatchStringMatcher.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.Map; diff --git a/src/main/java/org/springframework/shell/support/util/AntPathMatcher.java b/src/main/java/org/springframework/shell/support/util/AntPathMatcher.java index 450cd870..fb5b5f99 100644 --- a/src/main/java/org/springframework/shell/support/util/AntPathMatcher.java +++ b/src/main/java/org/springframework/shell/support/util/AntPathMatcher.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.LinkedHashMap; diff --git a/src/main/java/org/springframework/shell/support/util/Assert.java b/src/main/java/org/springframework/shell/support/util/Assert.java index 54025b38..96c08066 100644 --- a/src/main/java/org/springframework/shell/support/util/Assert.java +++ b/src/main/java/org/springframework/shell/support/util/Assert.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /* diff --git a/src/main/java/org/springframework/shell/support/util/Base64.java b/src/main/java/org/springframework/shell/support/util/Base64.java index fb4237ab..2dec12d4 100644 --- a/src/main/java/org/springframework/shell/support/util/Base64.java +++ b/src/main/java/org/springframework/shell/support/util/Base64.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.io.BufferedInputStream; diff --git a/src/main/java/org/springframework/shell/support/util/ClassUtils.java b/src/main/java/org/springframework/shell/support/util/ClassUtils.java index bbc15833..b4696e47 100644 --- a/src/main/java/org/springframework/shell/support/util/ClassUtils.java +++ b/src/main/java/org/springframework/shell/support/util/ClassUtils.java @@ -1,5 +1,3 @@ -package org.springframework.shell.support.util; - /* * Copyright 2002-2010 the original author or authors. * @@ -15,6 +13,7 @@ package org.springframework.shell.support.util; * See the License for the specific language governing permissions and * limitations under the License. */ +package org.springframework.shell.support.util; import java.beans.Introspector; import java.lang.reflect.Array; diff --git a/src/main/java/org/springframework/shell/support/util/CollectionUtils.java b/src/main/java/org/springframework/shell/support/util/CollectionUtils.java index 84b44e34..555b9028 100644 --- a/src/main/java/org/springframework/shell/support/util/CollectionUtils.java +++ b/src/main/java/org/springframework/shell/support/util/CollectionUtils.java @@ -1,5 +1,3 @@ -package org.springframework.shell.support.util; - /* * Copyright 2002-2008 the original author or authors. * @@ -15,6 +13,7 @@ package org.springframework.shell.support.util; * See the License for the specific language governing permissions and * limitations under the License. */ +package org.springframework.shell.support.util; import java.util.ArrayList; import java.util.Arrays; diff --git a/src/main/java/org/springframework/shell/support/util/DomUtils.java b/src/main/java/org/springframework/shell/support/util/DomUtils.java index 09cc328f..e9847436 100644 --- a/src/main/java/org/springframework/shell/support/util/DomUtils.java +++ b/src/main/java/org/springframework/shell/support/util/DomUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/support/util/ExceptionUtils.java b/src/main/java/org/springframework/shell/support/util/ExceptionUtils.java index 769c8b73..99f7f9aa 100644 --- a/src/main/java/org/springframework/shell/support/util/ExceptionUtils.java +++ b/src/main/java/org/springframework/shell/support/util/ExceptionUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/FileCopyUtils.java b/src/main/java/org/springframework/shell/support/util/FileCopyUtils.java index da19d1d9..bdbeb554 100644 --- a/src/main/java/org/springframework/shell/support/util/FileCopyUtils.java +++ b/src/main/java/org/springframework/shell/support/util/FileCopyUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.io.BufferedInputStream; diff --git a/src/main/java/org/springframework/shell/support/util/FileUtils.java b/src/main/java/org/springframework/shell/support/util/FileUtils.java index 68968c28..5cb5fc59 100644 --- a/src/main/java/org/springframework/shell/support/util/FileUtils.java +++ b/src/main/java/org/springframework/shell/support/util/FileUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.io.File; diff --git a/src/main/java/org/springframework/shell/support/util/Filter.java b/src/main/java/org/springframework/shell/support/util/Filter.java index 7142c1d0..667ffb9d 100644 --- a/src/main/java/org/springframework/shell/support/util/Filter.java +++ b/src/main/java/org/springframework/shell/support/util/Filter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/HexUtils.java b/src/main/java/org/springframework/shell/support/util/HexUtils.java index f076d6ee..331d1613 100644 --- a/src/main/java/org/springframework/shell/support/util/HexUtils.java +++ b/src/main/java/org/springframework/shell/support/util/HexUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/IOUtils.java b/src/main/java/org/springframework/shell/support/util/IOUtils.java index 372a64c9..7220634d 100644 --- a/src/main/java/org/springframework/shell/support/util/IOUtils.java +++ b/src/main/java/org/springframework/shell/support/util/IOUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.io.Closeable; diff --git a/src/main/java/org/springframework/shell/support/util/MathUtils.java b/src/main/java/org/springframework/shell/support/util/MathUtils.java index 1c4029eb..68a41bc8 100644 --- a/src/main/java/org/springframework/shell/support/util/MathUtils.java +++ b/src/main/java/org/springframework/shell/support/util/MathUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/NaturalOrderComparator.java b/src/main/java/org/springframework/shell/support/util/NaturalOrderComparator.java index 210cd28e..d54a7a18 100644 --- a/src/main/java/org/springframework/shell/support/util/NaturalOrderComparator.java +++ b/src/main/java/org/springframework/shell/support/util/NaturalOrderComparator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.Comparator; diff --git a/src/main/java/org/springframework/shell/support/util/NumberUtils.java b/src/main/java/org/springframework/shell/support/util/NumberUtils.java index 80416f15..83f76863 100644 --- a/src/main/java/org/springframework/shell/support/util/NumberUtils.java +++ b/src/main/java/org/springframework/shell/support/util/NumberUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.math.BigDecimal; diff --git a/src/main/java/org/springframework/shell/support/util/ObjectUtils.java b/src/main/java/org/springframework/shell/support/util/ObjectUtils.java index ea075ee3..42ec5365 100644 --- a/src/main/java/org/springframework/shell/support/util/ObjectUtils.java +++ b/src/main/java/org/springframework/shell/support/util/ObjectUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.lang.reflect.Array; diff --git a/src/main/java/org/springframework/shell/support/util/OsUtils.java b/src/main/java/org/springframework/shell/support/util/OsUtils.java index de2e2e30..e757025a 100644 --- a/src/main/java/org/springframework/shell/support/util/OsUtils.java +++ b/src/main/java/org/springframework/shell/support/util/OsUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/Pair.java b/src/main/java/org/springframework/shell/support/util/Pair.java index c6d55e8d..6a5d2cfd 100644 --- a/src/main/java/org/springframework/shell/support/util/Pair.java +++ b/src/main/java/org/springframework/shell/support/util/Pair.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; /** diff --git a/src/main/java/org/springframework/shell/support/util/PairList.java b/src/main/java/org/springframework/shell/support/util/PairList.java index 43530cb7..f9491f8f 100644 --- a/src/main/java/org/springframework/shell/support/util/PairList.java +++ b/src/main/java/org/springframework/shell/support/util/PairList.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/support/util/PathMatcher.java b/src/main/java/org/springframework/shell/support/util/PathMatcher.java index dd1c0a18..0b5443a7 100644 --- a/src/main/java/org/springframework/shell/support/util/PathMatcher.java +++ b/src/main/java/org/springframework/shell/support/util/PathMatcher.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.Map; diff --git a/src/main/java/org/springframework/shell/support/util/StringUtils.java b/src/main/java/org/springframework/shell/support/util/StringUtils.java index 2ede0413..bbdbb511 100644 --- a/src/main/java/org/springframework/shell/support/util/StringUtils.java +++ b/src/main/java/org/springframework/shell/support/util/StringUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/support/util/TemplateUtils.java b/src/main/java/org/springframework/shell/support/util/TemplateUtils.java index 81f788d1..eff35e40 100644 --- a/src/main/java/org/springframework/shell/support/util/TemplateUtils.java +++ b/src/main/java/org/springframework/shell/support/util/TemplateUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.io.InputStream; diff --git a/src/main/java/org/springframework/shell/support/util/UrlUtils.java b/src/main/java/org/springframework/shell/support/util/UrlUtils.java index 0bbf8d1c..ca9035cd 100644 --- a/src/main/java/org/springframework/shell/support/util/UrlUtils.java +++ b/src/main/java/org/springframework/shell/support/util/UrlUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.net.MalformedURLException; diff --git a/src/main/java/org/springframework/shell/support/util/WebXmlUtils.java b/src/main/java/org/springframework/shell/support/util/WebXmlUtils.java index 1b00b5dc..84ba972b 100644 --- a/src/main/java/org/springframework/shell/support/util/WebXmlUtils.java +++ b/src/main/java/org/springframework/shell/support/util/WebXmlUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/shell/support/util/XmlElementBuilder.java b/src/main/java/org/springframework/shell/support/util/XmlElementBuilder.java index c6b174c8..8b0c0da3 100644 --- a/src/main/java/org/springframework/shell/support/util/XmlElementBuilder.java +++ b/src/main/java/org/springframework/shell/support/util/XmlElementBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import org.w3c.dom.Document; diff --git a/src/main/java/org/springframework/shell/support/util/XmlRoundTripUtils.java b/src/main/java/org/springframework/shell/support/util/XmlRoundTripUtils.java index 29db5926..3a1cdff9 100644 --- a/src/main/java/org/springframework/shell/support/util/XmlRoundTripUtils.java +++ b/src/main/java/org/springframework/shell/support/util/XmlRoundTripUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import java.security.MessageDigest; diff --git a/src/main/java/org/springframework/shell/support/util/XmlUtils.java b/src/main/java/org/springframework/shell/support/util/XmlUtils.java index b87586d0..1430badd 100644 --- a/src/main/java/org/springframework/shell/support/util/XmlUtils.java +++ b/src/main/java/org/springframework/shell/support/util/XmlUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import javax.xml.parsers.DocumentBuilder; diff --git a/src/test/java/org/springframework/shell/core/AbstractShellTest.java b/src/test/java/org/springframework/shell/core/AbstractShellTest.java index b919e86d..a4d1595e 100644 --- a/src/test/java/org/springframework/shell/core/AbstractShellTest.java +++ b/src/test/java/org/springframework/shell/core/AbstractShellTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import static org.junit.Assert.assertNotNull; diff --git a/src/test/java/org/springframework/shell/core/CliOptionContextTest.java b/src/test/java/org/springframework/shell/core/CliOptionContextTest.java index 897853fc..e056f914 100644 --- a/src/test/java/org/springframework/shell/core/CliOptionContextTest.java +++ b/src/test/java/org/springframework/shell/core/CliOptionContextTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/core/MethodTargetTest.java b/src/test/java/org/springframework/shell/core/MethodTargetTest.java index 7e2f7a51..3516b38f 100644 --- a/src/test/java/org/springframework/shell/core/MethodTargetTest.java +++ b/src/test/java/org/springframework/shell/core/MethodTargetTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/core/SimpleParserTest.java b/src/test/java/org/springframework/shell/core/SimpleParserTest.java index 32f7f4a8..db0a8f51 100644 --- a/src/test/java/org/springframework/shell/core/SimpleParserTest.java +++ b/src/test/java/org/springframework/shell/core/SimpleParserTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.core; import org.junit.Assert; diff --git a/src/test/java/org/springframework/shell/support/util/AnsiEscapeCodeTest.java b/src/test/java/org/springframework/shell/support/util/AnsiEscapeCodeTest.java index 5d06e98a..d092dbb7 100644 --- a/src/test/java/org/springframework/shell/support/util/AnsiEscapeCodeTest.java +++ b/src/test/java/org/springframework/shell/support/util/AnsiEscapeCodeTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/CollectionUtilsTest.java b/src/test/java/org/springframework/shell/support/util/CollectionUtilsTest.java index cbae439c..1309fb0d 100644 --- a/src/test/java/org/springframework/shell/support/util/CollectionUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/CollectionUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/DomUtilsTest.java b/src/test/java/org/springframework/shell/support/util/DomUtilsTest.java index 6118a730..9bee796c 100644 --- a/src/test/java/org/springframework/shell/support/util/DomUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/DomUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/FileUtilsTest.java b/src/test/java/org/springframework/shell/support/util/FileUtilsTest.java index 0d672afc..d2c1347f 100644 --- a/src/test/java/org/springframework/shell/support/util/FileUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/FileUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/IOUtilsTest.java b/src/test/java/org/springframework/shell/support/util/IOUtilsTest.java index 7b406870..9b73e080 100644 --- a/src/test/java/org/springframework/shell/support/util/IOUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/IOUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.mockito.Mockito.doThrow; diff --git a/src/test/java/org/springframework/shell/support/util/NumberUtilsTest.java b/src/test/java/org/springframework/shell/support/util/NumberUtilsTest.java index f19d8725..1d91e504 100644 --- a/src/test/java/org/springframework/shell/support/util/NumberUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/NumberUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/ObjectUtilsTest.java b/src/test/java/org/springframework/shell/support/util/ObjectUtilsTest.java index 56bba1ac..db7283b9 100644 --- a/src/test/java/org/springframework/shell/support/util/ObjectUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/ObjectUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/PairListTest.java b/src/test/java/org/springframework/shell/support/util/PairListTest.java index aadeb46e..0ad11268 100644 --- a/src/test/java/org/springframework/shell/support/util/PairListTest.java +++ b/src/test/java/org/springframework/shell/support/util/PairListTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/PairTest.java b/src/test/java/org/springframework/shell/support/util/PairTest.java index bf5fc5ef..d16b2081 100644 --- a/src/test/java/org/springframework/shell/support/util/PairTest.java +++ b/src/test/java/org/springframework/shell/support/util/PairTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/StringUtilsTest.java b/src/test/java/org/springframework/shell/support/util/StringUtilsTest.java index 59a62331..7719e825 100644 --- a/src/test/java/org/springframework/shell/support/util/StringUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/StringUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/WebXmlUtilsTest.java b/src/test/java/org/springframework/shell/support/util/WebXmlUtilsTest.java index 333fc457..564e7a57 100644 --- a/src/test/java/org/springframework/shell/support/util/WebXmlUtilsTest.java +++ b/src/test/java/org/springframework/shell/support/util/WebXmlUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/springframework/shell/support/util/loader/Loader.java b/src/test/java/org/springframework/shell/support/util/loader/Loader.java index 444f3baf..8ec5d5e1 100644 --- a/src/test/java/org/springframework/shell/support/util/loader/Loader.java +++ b/src/test/java/org/springframework/shell/support/util/loader/Loader.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011-2012 the original author or authors. + * + * Licensed 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.springframework.shell.support.util.loader; import org.springframework.shell.support.util.FileUtilsTest;