diff options
author | py4fun <none@none> | 2012-01-06 21:18:28 +0100 |
---|---|---|
committer | py4fun <none@none> | 2012-01-06 21:18:28 +0100 |
commit | 9079aa6da37782afa22c89b9c96b2c0114813eb3 (patch) | |
tree | 8ab71118b422bc8b3ef57c56fd341fdcabe97757 /src/main/java/org/yaml/snakeyaml | |
parent | bd9f1a84739a012eef9a0e1e534951190eb291b1 (diff) | |
download | snakeyaml-9079aa6da37782afa22c89b9c96b2c0114813eb3.tar.gz |
Update year to 2012
Diffstat (limited to 'src/main/java/org/yaml/snakeyaml')
102 files changed, 235 insertions, 336 deletions
diff --git a/src/main/java/org/yaml/snakeyaml/Dumper.java b/src/main/java/org/yaml/snakeyaml/Dumper.java index 5a18432e..5ffd5f0f 100644 --- a/src/main/java/org/yaml/snakeyaml/Dumper.java +++ b/src/main/java/org/yaml/snakeyaml/Dumper.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; import org.yaml.snakeyaml.representer.Representer; diff --git a/src/main/java/org/yaml/snakeyaml/DumperOptions.java b/src/main/java/org/yaml/snakeyaml/DumperOptions.java index cf58485e..35d6a289 100644 --- a/src/main/java/org/yaml/snakeyaml/DumperOptions.java +++ b/src/main/java/org/yaml/snakeyaml/DumperOptions.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; import java.util.Map; diff --git a/src/main/java/org/yaml/snakeyaml/JavaBeanDumper.java b/src/main/java/org/yaml/snakeyaml/JavaBeanDumper.java index 8821baff..21431f76 100644 --- a/src/main/java/org/yaml/snakeyaml/JavaBeanDumper.java +++ b/src/main/java/org/yaml/snakeyaml/JavaBeanDumper.java @@ -1,137 +1,136 @@ -/**
- * Copyright (c) 2008-2011, http://www.snakeyaml.org
- *
- * 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.yaml.snakeyaml;
-
-import java.io.StringWriter;
-import java.io.Writer;
-
-import org.yaml.snakeyaml.DumperOptions.FlowStyle;
-import org.yaml.snakeyaml.introspector.BeanAccess;
-import org.yaml.snakeyaml.nodes.Tag;
-import org.yaml.snakeyaml.representer.Representer;
-
-/**
+/** + * Copyright (c) 2008-2012, http://www.snakeyaml.org + * + * 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.yaml.snakeyaml; + +import java.io.StringWriter; +import java.io.Writer; + +import org.yaml.snakeyaml.DumperOptions.FlowStyle; +import org.yaml.snakeyaml.introspector.BeanAccess; +import org.yaml.snakeyaml.nodes.Tag; +import org.yaml.snakeyaml.representer.Representer; + +/** * Convenience utility to serialize JavaBeans. * - * @deprecated use Yaml.dumpAs(data, Tag.MAP) instead
- */
-public class JavaBeanDumper {
- private boolean useGlobalTag;
- private FlowStyle flowStyle;
- private DumperOptions options;
- private Representer representer;
- private final BeanAccess beanAccess;
-
- /**
- * Create Dumper for JavaBeans
- *
- * @param useGlobalTag
- * true to emit the global tag with the class name
- */
- public JavaBeanDumper(boolean useGlobalTag, BeanAccess beanAccess) {
- this.useGlobalTag = useGlobalTag;
- this.beanAccess = beanAccess;
- this.flowStyle = FlowStyle.BLOCK;
- }
-
- public JavaBeanDumper(boolean useGlobalTag) {
- this(useGlobalTag, BeanAccess.DEFAULT);
- }
-
- public JavaBeanDumper(BeanAccess beanAccess) {
- this(false, beanAccess);
- }
-
- /**
- * Create Dumper for JavaBeans. Use "tag:yaml.org,2002:map" as the root tag.
- */
- public JavaBeanDumper() {
- this(BeanAccess.DEFAULT);
- }
-
- public JavaBeanDumper(Representer representer, DumperOptions options) {
- if (representer == null) {
- throw new NullPointerException("Representer must be provided.");
- }
- if (options == null) {
- throw new NullPointerException("DumperOptions must be provided.");
- }
- this.options = options;
- this.representer = representer;
- this.beanAccess = null; // bean access in not used if representer
- // supplied
- }
-
- /**
- * Serialize JavaBean
- *
- * @param data
- * JavaBean instance to serialize
- * @param output
- * destination
- */
- public void dump(Object data, Writer output) {
- DumperOptions doptions;
- if (this.options == null) {
- doptions = new DumperOptions();
- if (!useGlobalTag) {
- doptions.setExplicitRoot(Tag.MAP);
- }
- doptions.setDefaultFlowStyle(flowStyle);
- } else {
- doptions = this.options;
- }
- Representer repr;
- if (this.representer == null) {
- repr = new Representer();
- repr.getPropertyUtils().setBeanAccess(beanAccess);
- } else {
- repr = this.representer;
- }
- Yaml dumper = new Yaml(repr, doptions);
- dumper.dump(data, output);
- }
-
- /**
- * Serialize JavaBean
- *
- * @param data
- * JavaBean instance to serialize
- * @return serialized YAML document
- */
- public String dump(Object data) {
- StringWriter buffer = new StringWriter();
- dump(data, buffer);
- return buffer.toString();
- }
-
- public boolean isUseGlobalTag() {
- return useGlobalTag;
- }
-
- public void setUseGlobalTag(boolean useGlobalTag) {
- this.useGlobalTag = useGlobalTag;
- }
-
- public FlowStyle getFlowStyle() {
- return flowStyle;
- }
-
- public void setFlowStyle(FlowStyle flowStyle) {
- this.flowStyle = flowStyle;
- }
-}
+ * @deprecated use Yaml.dumpAs(data, Tag.MAP) instead + */ +public class JavaBeanDumper { + private boolean useGlobalTag; + private FlowStyle flowStyle; + private DumperOptions options; + private Representer representer; + private final BeanAccess beanAccess; + + /** + * Create Dumper for JavaBeans + * + * @param useGlobalTag + * true to emit the global tag with the class name + */ + public JavaBeanDumper(boolean useGlobalTag, BeanAccess beanAccess) { + this.useGlobalTag = useGlobalTag; + this.beanAccess = beanAccess; + this.flowStyle = FlowStyle.BLOCK; + } + + public JavaBeanDumper(boolean useGlobalTag) { + this(useGlobalTag, BeanAccess.DEFAULT); + } + + public JavaBeanDumper(BeanAccess beanAccess) { + this(false, beanAccess); + } + + /** + * Create Dumper for JavaBeans. Use "tag:yaml.org,2002:map" as the root tag. + */ + public JavaBeanDumper() { + this(BeanAccess.DEFAULT); + } + + public JavaBeanDumper(Representer representer, DumperOptions options) { + if (representer == null) { + throw new NullPointerException("Representer must be provided."); + } + if (options == null) { + throw new NullPointerException("DumperOptions must be provided."); + } + this.options = options; + this.representer = representer; + this.beanAccess = null; // bean access in not used if representer + // supplied + } + + /** + * Serialize JavaBean + * + * @param data + * JavaBean instance to serialize + * @param output + * destination + */ + public void dump(Object data, Writer output) { + DumperOptions doptions; + if (this.options == null) { + doptions = new DumperOptions(); + if (!useGlobalTag) { + doptions.setExplicitRoot(Tag.MAP); + } + doptions.setDefaultFlowStyle(flowStyle); + } else { + doptions = this.options; + } + Representer repr; + if (this.representer == null) { + repr = new Representer(); + repr.getPropertyUtils().setBeanAccess(beanAccess); + } else { + repr = this.representer; + } + Yaml dumper = new Yaml(repr, doptions); + dumper.dump(data, output); + } + + /** + * Serialize JavaBean + * + * @param data + * JavaBean instance to serialize + * @return serialized YAML document + */ + public String dump(Object data) { + StringWriter buffer = new StringWriter(); + dump(data, buffer); + return buffer.toString(); + } + + public boolean isUseGlobalTag() { + return useGlobalTag; + } + + public void setUseGlobalTag(boolean useGlobalTag) { + this.useGlobalTag = useGlobalTag; + } + + public FlowStyle getFlowStyle() { + return flowStyle; + } + + public void setFlowStyle(FlowStyle flowStyle) { + this.flowStyle = flowStyle; + } +} diff --git a/src/main/java/org/yaml/snakeyaml/JavaBeanLoader.java b/src/main/java/org/yaml/snakeyaml/JavaBeanLoader.java index 9d51c798..748b1c62 100644 --- a/src/main/java/org/yaml/snakeyaml/JavaBeanLoader.java +++ b/src/main/java/org/yaml/snakeyaml/JavaBeanLoader.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; import java.io.InputStream; diff --git a/src/main/java/org/yaml/snakeyaml/Loader.java b/src/main/java/org/yaml/snakeyaml/Loader.java index 4bd3fa2e..139822ba 100644 --- a/src/main/java/org/yaml/snakeyaml/Loader.java +++ b/src/main/java/org/yaml/snakeyaml/Loader.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; import org.yaml.snakeyaml.constructor.BaseConstructor; diff --git a/src/main/java/org/yaml/snakeyaml/LoaderOptions.java b/src/main/java/org/yaml/snakeyaml/LoaderOptions.java index 35b93141..8c54607f 100644 --- a/src/main/java/org/yaml/snakeyaml/LoaderOptions.java +++ b/src/main/java/org/yaml/snakeyaml/LoaderOptions.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; public class LoaderOptions { diff --git a/src/main/java/org/yaml/snakeyaml/TypeDescription.java b/src/main/java/org/yaml/snakeyaml/TypeDescription.java index 609adafc..7c2805f1 100644 --- a/src/main/java/org/yaml/snakeyaml/TypeDescription.java +++ b/src/main/java/org/yaml/snakeyaml/TypeDescription.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; import java.util.HashMap; diff --git a/src/main/java/org/yaml/snakeyaml/Yaml.java b/src/main/java/org/yaml/snakeyaml/Yaml.java index d917fb29..1bf6e55c 100644 --- a/src/main/java/org/yaml/snakeyaml/Yaml.java +++ b/src/main/java/org/yaml/snakeyaml/Yaml.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml; import java.io.IOException; diff --git a/src/main/java/org/yaml/snakeyaml/composer/Composer.java b/src/main/java/org/yaml/snakeyaml/composer/Composer.java index 705f1636..1d387f5c 100644 --- a/src/main/java/org/yaml/snakeyaml/composer/Composer.java +++ b/src/main/java/org/yaml/snakeyaml/composer/Composer.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.composer; import java.util.ArrayList; diff --git a/src/main/java/org/yaml/snakeyaml/composer/ComposerException.java b/src/main/java/org/yaml/snakeyaml/composer/ComposerException.java index cc64a9b8..d0e0930f 100644 --- a/src/main/java/org/yaml/snakeyaml/composer/ComposerException.java +++ b/src/main/java/org/yaml/snakeyaml/composer/ComposerException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.composer; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/constructor/AbstractConstruct.java b/src/main/java/org/yaml/snakeyaml/constructor/AbstractConstruct.java index a8a60fd3..ec2ee6c6 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/AbstractConstruct.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/AbstractConstruct.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; import org.yaml.snakeyaml.error.YAMLException; diff --git a/src/main/java/org/yaml/snakeyaml/constructor/BaseConstructor.java b/src/main/java/org/yaml/snakeyaml/constructor/BaseConstructor.java index 366339b4..3ae43017 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/BaseConstructor.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/BaseConstructor.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; import java.lang.reflect.Array; diff --git a/src/main/java/org/yaml/snakeyaml/constructor/Construct.java b/src/main/java/org/yaml/snakeyaml/constructor/Construct.java index bee8beab..46ccf79f 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/Construct.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/Construct.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; import org.yaml.snakeyaml.nodes.Node; diff --git a/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java b/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java index 497491ae..0c856c35 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/Constructor.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; import java.beans.IntrospectionException; diff --git a/src/main/java/org/yaml/snakeyaml/constructor/ConstructorException.java b/src/main/java/org/yaml/snakeyaml/constructor/ConstructorException.java index 3b484b9b..763a4604 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/ConstructorException.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/ConstructorException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/constructor/CustomClassLoaderConstructor.java b/src/main/java/org/yaml/snakeyaml/constructor/CustomClassLoaderConstructor.java index c5509a41..dc069865 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/CustomClassLoaderConstructor.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/CustomClassLoaderConstructor.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; /** diff --git a/src/main/java/org/yaml/snakeyaml/constructor/SafeConstructor.java b/src/main/java/org/yaml/snakeyaml/constructor/SafeConstructor.java index 64d838f8..2911380f 100644 --- a/src/main/java/org/yaml/snakeyaml/constructor/SafeConstructor.java +++ b/src/main/java/org/yaml/snakeyaml/constructor/SafeConstructor.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.constructor; import java.math.BigInteger; diff --git a/src/main/java/org/yaml/snakeyaml/emitter/Emitable.java b/src/main/java/org/yaml/snakeyaml/emitter/Emitable.java index ae99e2de..2371b1da 100644 --- a/src/main/java/org/yaml/snakeyaml/emitter/Emitable.java +++ b/src/main/java/org/yaml/snakeyaml/emitter/Emitable.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/org/yaml/snakeyaml/emitter/Emitter.java b/src/main/java/org/yaml/snakeyaml/emitter/Emitter.java index 7a17f7ca..6ce4c41e 100644 --- a/src/main/java/org/yaml/snakeyaml/emitter/Emitter.java +++ b/src/main/java/org/yaml/snakeyaml/emitter/Emitter.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.emitter; import java.io.IOException; diff --git a/src/main/java/org/yaml/snakeyaml/emitter/EmitterException.java b/src/main/java/org/yaml/snakeyaml/emitter/EmitterException.java index 0aedc298..caa40be4 100644 --- a/src/main/java/org/yaml/snakeyaml/emitter/EmitterException.java +++ b/src/main/java/org/yaml/snakeyaml/emitter/EmitterException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.emitter; import org.yaml.snakeyaml.error.YAMLException; diff --git a/src/main/java/org/yaml/snakeyaml/emitter/EmitterState.java b/src/main/java/org/yaml/snakeyaml/emitter/EmitterState.java index b3f2b8da..ad059990 100755 --- a/src/main/java/org/yaml/snakeyaml/emitter/EmitterState.java +++ b/src/main/java/org/yaml/snakeyaml/emitter/EmitterState.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.emitter; import java.io.IOException; diff --git a/src/main/java/org/yaml/snakeyaml/emitter/ScalarAnalysis.java b/src/main/java/org/yaml/snakeyaml/emitter/ScalarAnalysis.java index 1c0f5760..490a51f7 100644 --- a/src/main/java/org/yaml/snakeyaml/emitter/ScalarAnalysis.java +++ b/src/main/java/org/yaml/snakeyaml/emitter/ScalarAnalysis.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.emitter; public final class ScalarAnalysis { diff --git a/src/main/java/org/yaml/snakeyaml/error/Mark.java b/src/main/java/org/yaml/snakeyaml/error/Mark.java index 4c637a10..9321579d 100644 --- a/src/main/java/org/yaml/snakeyaml/error/Mark.java +++ b/src/main/java/org/yaml/snakeyaml/error/Mark.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.error; import org.yaml.snakeyaml.scanner.Constant; diff --git a/src/main/java/org/yaml/snakeyaml/error/MarkedYAMLException.java b/src/main/java/org/yaml/snakeyaml/error/MarkedYAMLException.java index 604520a1..c877ee4a 100644 --- a/src/main/java/org/yaml/snakeyaml/error/MarkedYAMLException.java +++ b/src/main/java/org/yaml/snakeyaml/error/MarkedYAMLException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.error; public class MarkedYAMLException extends YAMLException { diff --git a/src/main/java/org/yaml/snakeyaml/error/YAMLException.java b/src/main/java/org/yaml/snakeyaml/error/YAMLException.java index 2de97c11..90b81ec2 100644 --- a/src/main/java/org/yaml/snakeyaml/error/YAMLException.java +++ b/src/main/java/org/yaml/snakeyaml/error/YAMLException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.error; public class YAMLException extends RuntimeException { diff --git a/src/main/java/org/yaml/snakeyaml/events/AliasEvent.java b/src/main/java/org/yaml/snakeyaml/events/AliasEvent.java index 9c575a10..c9a2edb6 100644 --- a/src/main/java/org/yaml/snakeyaml/events/AliasEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/AliasEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/CollectionEndEvent.java b/src/main/java/org/yaml/snakeyaml/events/CollectionEndEvent.java index 1db3c55b..ff888ddc 100644 --- a/src/main/java/org/yaml/snakeyaml/events/CollectionEndEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/CollectionEndEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java index b27c4f3b..b6e4c63e 100644 --- a/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/DocumentEndEvent.java b/src/main/java/org/yaml/snakeyaml/events/DocumentEndEvent.java index 51da72f6..0097dab3 100644 --- a/src/main/java/org/yaml/snakeyaml/events/DocumentEndEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/DocumentEndEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java index d739d307..db4a27b3 100644 --- a/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import java.util.Map; diff --git a/src/main/java/org/yaml/snakeyaml/events/Event.java b/src/main/java/org/yaml/snakeyaml/events/Event.java index 056c72bc..e95d0118 100644 --- a/src/main/java/org/yaml/snakeyaml/events/Event.java +++ b/src/main/java/org/yaml/snakeyaml/events/Event.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/ImplicitTuple.java b/src/main/java/org/yaml/snakeyaml/events/ImplicitTuple.java index 8809bfc4..c98f9917 100644 --- a/src/main/java/org/yaml/snakeyaml/events/ImplicitTuple.java +++ b/src/main/java/org/yaml/snakeyaml/events/ImplicitTuple.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; /** diff --git a/src/main/java/org/yaml/snakeyaml/events/MappingEndEvent.java b/src/main/java/org/yaml/snakeyaml/events/MappingEndEvent.java index 82a0b715..284bd21c 100644 --- a/src/main/java/org/yaml/snakeyaml/events/MappingEndEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/MappingEndEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java index 82b4c15d..f23b299d 100644 --- a/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java b/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java index 5388da0f..723ce512 100644 --- a/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/ScalarEvent.java b/src/main/java/org/yaml/snakeyaml/events/ScalarEvent.java index 1cbf00d4..e5a090a1 100644 --- a/src/main/java/org/yaml/snakeyaml/events/ScalarEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/ScalarEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/SequenceEndEvent.java b/src/main/java/org/yaml/snakeyaml/events/SequenceEndEvent.java index 2b005f42..81efb0f2 100644 --- a/src/main/java/org/yaml/snakeyaml/events/SequenceEndEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/SequenceEndEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java index 32de1b02..8155f6f0 100644 --- a/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java b/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java index 08585c9d..35bdfc7c 100644 --- a/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java index 648b7fa9..d7b48a90 100644 --- a/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java +++ b/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.events; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java b/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java index a1f7c0e8..748814db 100644 --- a/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java +++ b/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactConstructor.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.extensions.compactnotation; import java.beans.IntrospectionException; diff --git a/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactData.java b/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactData.java index a499e0a8..116f7fd4 100644 --- a/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactData.java +++ b/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/CompactData.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.extensions.compactnotation; import java.util.ArrayList; diff --git a/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/PackageCompactConstructor.java b/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/PackageCompactConstructor.java index 7d56f1aa..62dffc39 100644 --- a/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/PackageCompactConstructor.java +++ b/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/PackageCompactConstructor.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.extensions.compactnotation; public class PackageCompactConstructor extends CompactConstructor { diff --git a/src/main/java/org/yaml/snakeyaml/introspector/BeanAccess.java b/src/main/java/org/yaml/snakeyaml/introspector/BeanAccess.java index a5d8027e..fe738d18 100644 --- a/src/main/java/org/yaml/snakeyaml/introspector/BeanAccess.java +++ b/src/main/java/org/yaml/snakeyaml/introspector/BeanAccess.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.introspector; /** diff --git a/src/main/java/org/yaml/snakeyaml/introspector/FieldProperty.java b/src/main/java/org/yaml/snakeyaml/introspector/FieldProperty.java index 11568abf..1330b1a2 100644 --- a/src/main/java/org/yaml/snakeyaml/introspector/FieldProperty.java +++ b/src/main/java/org/yaml/snakeyaml/introspector/FieldProperty.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.introspector; import java.lang.reflect.Field; diff --git a/src/main/java/org/yaml/snakeyaml/introspector/GenericProperty.java b/src/main/java/org/yaml/snakeyaml/introspector/GenericProperty.java index f1db7423..0ee5605f 100644 --- a/src/main/java/org/yaml/snakeyaml/introspector/GenericProperty.java +++ b/src/main/java/org/yaml/snakeyaml/introspector/GenericProperty.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.introspector; import java.lang.reflect.Array; diff --git a/src/main/java/org/yaml/snakeyaml/introspector/MethodProperty.java b/src/main/java/org/yaml/snakeyaml/introspector/MethodProperty.java index 6263b94b..44072890 100644 --- a/src/main/java/org/yaml/snakeyaml/introspector/MethodProperty.java +++ b/src/main/java/org/yaml/snakeyaml/introspector/MethodProperty.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.introspector; import java.beans.PropertyDescriptor; diff --git a/src/main/java/org/yaml/snakeyaml/introspector/Property.java b/src/main/java/org/yaml/snakeyaml/introspector/Property.java index a9985c1d..113d9d8d 100644 --- a/src/main/java/org/yaml/snakeyaml/introspector/Property.java +++ b/src/main/java/org/yaml/snakeyaml/introspector/Property.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.introspector; public abstract class Property implements Comparable<Property> { diff --git a/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java b/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java index 21c02104..62585992 100644 --- a/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java +++ b/src/main/java/org/yaml/snakeyaml/introspector/PropertyUtils.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.introspector; import java.beans.IntrospectionException; diff --git a/src/main/java/org/yaml/snakeyaml/nodes/AnchorNode.java b/src/main/java/org/yaml/snakeyaml/nodes/AnchorNode.java index 02141541..aafe0604 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/AnchorNode.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/AnchorNode.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; public class AnchorNode extends Node { diff --git a/src/main/java/org/yaml/snakeyaml/nodes/CollectionNode.java b/src/main/java/org/yaml/snakeyaml/nodes/CollectionNode.java index 69a06c69..536eccbf 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/CollectionNode.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/CollectionNode.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java b/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java index d6d3eee2..ed40c20c 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; import java.util.List; diff --git a/src/main/java/org/yaml/snakeyaml/nodes/Node.java b/src/main/java/org/yaml/snakeyaml/nodes/Node.java index c75b51a4..14d2fe69 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/Node.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/Node.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/nodes/NodeId.java b/src/main/java/org/yaml/snakeyaml/nodes/NodeId.java index 6ad82864..5b041184 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/NodeId.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/NodeId.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; /** diff --git a/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java b/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java index 795f1193..aad75f14 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; /** diff --git a/src/main/java/org/yaml/snakeyaml/nodes/ScalarNode.java b/src/main/java/org/yaml/snakeyaml/nodes/ScalarNode.java index 5108f459..175fdcae 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/ScalarNode.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/ScalarNode.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/nodes/SequenceNode.java b/src/main/java/org/yaml/snakeyaml/nodes/SequenceNode.java index 5dc73282..b9c8ea4f 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/SequenceNode.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/SequenceNode.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; import java.util.List; diff --git a/src/main/java/org/yaml/snakeyaml/nodes/Tag.java b/src/main/java/org/yaml/snakeyaml/nodes/Tag.java index 6956627d..45bd5e86 100644 --- a/src/main/java/org/yaml/snakeyaml/nodes/Tag.java +++ b/src/main/java/org/yaml/snakeyaml/nodes/Tag.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.nodes; import java.math.BigDecimal; diff --git a/src/main/java/org/yaml/snakeyaml/parser/Parser.java b/src/main/java/org/yaml/snakeyaml/parser/Parser.java index b63cab8a..06f77079 100644 --- a/src/main/java/org/yaml/snakeyaml/parser/Parser.java +++ b/src/main/java/org/yaml/snakeyaml/parser/Parser.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.parser; import org.yaml.snakeyaml.events.Event; diff --git a/src/main/java/org/yaml/snakeyaml/parser/ParserException.java b/src/main/java/org/yaml/snakeyaml/parser/ParserException.java index aaedcb40..27978697 100644 --- a/src/main/java/org/yaml/snakeyaml/parser/ParserException.java +++ b/src/main/java/org/yaml/snakeyaml/parser/ParserException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.parser; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/parser/ParserImpl.java b/src/main/java/org/yaml/snakeyaml/parser/ParserImpl.java index fba458c8..db403291 100644 --- a/src/main/java/org/yaml/snakeyaml/parser/ParserImpl.java +++ b/src/main/java/org/yaml/snakeyaml/parser/ParserImpl.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.parser; import java.util.ArrayList; diff --git a/src/main/java/org/yaml/snakeyaml/parser/Production.java b/src/main/java/org/yaml/snakeyaml/parser/Production.java index d81fe5ac..8f6e36c1 100644 --- a/src/main/java/org/yaml/snakeyaml/parser/Production.java +++ b/src/main/java/org/yaml/snakeyaml/parser/Production.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.parser; import org.yaml.snakeyaml.events.Event; diff --git a/src/main/java/org/yaml/snakeyaml/reader/ReaderException.java b/src/main/java/org/yaml/snakeyaml/reader/ReaderException.java index ba087881..02c30471 100644 --- a/src/main/java/org/yaml/snakeyaml/reader/ReaderException.java +++ b/src/main/java/org/yaml/snakeyaml/reader/ReaderException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.reader; import org.yaml.snakeyaml.error.YAMLException; diff --git a/src/main/java/org/yaml/snakeyaml/reader/StreamReader.java b/src/main/java/org/yaml/snakeyaml/reader/StreamReader.java index 99f7640f..5a3e6c76 100644 --- a/src/main/java/org/yaml/snakeyaml/reader/StreamReader.java +++ b/src/main/java/org/yaml/snakeyaml/reader/StreamReader.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.reader; import java.io.IOException; diff --git a/src/main/java/org/yaml/snakeyaml/reader/UnicodeReader.java b/src/main/java/org/yaml/snakeyaml/reader/UnicodeReader.java index 9ceefb22..1f5762c0 100644 --- a/src/main/java/org/yaml/snakeyaml/reader/UnicodeReader.java +++ b/src/main/java/org/yaml/snakeyaml/reader/UnicodeReader.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.reader; /** diff --git a/src/main/java/org/yaml/snakeyaml/representer/BaseRepresenter.java b/src/main/java/org/yaml/snakeyaml/representer/BaseRepresenter.java index 6d238206..a76913dc 100644 --- a/src/main/java/org/yaml/snakeyaml/representer/BaseRepresenter.java +++ b/src/main/java/org/yaml/snakeyaml/representer/BaseRepresenter.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.representer; import java.util.ArrayList; diff --git a/src/main/java/org/yaml/snakeyaml/representer/Represent.java b/src/main/java/org/yaml/snakeyaml/representer/Represent.java index 5d0808ea..f734b6e3 100644 --- a/src/main/java/org/yaml/snakeyaml/representer/Represent.java +++ b/src/main/java/org/yaml/snakeyaml/representer/Represent.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.representer; import org.yaml.snakeyaml.nodes.Node; diff --git a/src/main/java/org/yaml/snakeyaml/representer/Representer.java b/src/main/java/org/yaml/snakeyaml/representer/Representer.java index c0dc6b26..bf490702 100644 --- a/src/main/java/org/yaml/snakeyaml/representer/Representer.java +++ b/src/main/java/org/yaml/snakeyaml/representer/Representer.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.representer; import java.beans.IntrospectionException; diff --git a/src/main/java/org/yaml/snakeyaml/representer/SafeRepresenter.java b/src/main/java/org/yaml/snakeyaml/representer/SafeRepresenter.java index ff4744d8..9edcecaf 100644 --- a/src/main/java/org/yaml/snakeyaml/representer/SafeRepresenter.java +++ b/src/main/java/org/yaml/snakeyaml/representer/SafeRepresenter.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.representer; import java.math.BigInteger; diff --git a/src/main/java/org/yaml/snakeyaml/resolver/Resolver.java b/src/main/java/org/yaml/snakeyaml/resolver/Resolver.java index 4114841c..562dc793 100644 --- a/src/main/java/org/yaml/snakeyaml/resolver/Resolver.java +++ b/src/main/java/org/yaml/snakeyaml/resolver/Resolver.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.resolver; import java.util.ArrayList; diff --git a/src/main/java/org/yaml/snakeyaml/resolver/ResolverTuple.java b/src/main/java/org/yaml/snakeyaml/resolver/ResolverTuple.java index 53aef276..52d62f4d 100644 --- a/src/main/java/org/yaml/snakeyaml/resolver/ResolverTuple.java +++ b/src/main/java/org/yaml/snakeyaml/resolver/ResolverTuple.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.resolver; import java.util.regex.Pattern; diff --git a/src/main/java/org/yaml/snakeyaml/scanner/Constant.java b/src/main/java/org/yaml/snakeyaml/scanner/Constant.java index 90308544..49b98e1d 100644 --- a/src/main/java/org/yaml/snakeyaml/scanner/Constant.java +++ b/src/main/java/org/yaml/snakeyaml/scanner/Constant.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.scanner; import java.util.Arrays; diff --git a/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java b/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java index 402e45e5..9b3d469f 100644 --- a/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java +++ b/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.scanner; import org.yaml.snakeyaml.tokens.Token; diff --git a/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java b/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java index b69939cd..d1de0e5a 100644 --- a/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java +++ b/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.scanner; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/scanner/ScannerImpl.java b/src/main/java/org/yaml/snakeyaml/scanner/ScannerImpl.java index 6e10b7d3..1d539cb6 100644 --- a/src/main/java/org/yaml/snakeyaml/scanner/ScannerImpl.java +++ b/src/main/java/org/yaml/snakeyaml/scanner/ScannerImpl.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.scanner; import java.nio.ByteBuffer; diff --git a/src/main/java/org/yaml/snakeyaml/scanner/SimpleKey.java b/src/main/java/org/yaml/snakeyaml/scanner/SimpleKey.java index 1edb80f2..218d4e68 100644 --- a/src/main/java/org/yaml/snakeyaml/scanner/SimpleKey.java +++ b/src/main/java/org/yaml/snakeyaml/scanner/SimpleKey.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.scanner; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/serializer/Serializer.java b/src/main/java/org/yaml/snakeyaml/serializer/Serializer.java index ef89b514..e37adcfe 100644 --- a/src/main/java/org/yaml/snakeyaml/serializer/Serializer.java +++ b/src/main/java/org/yaml/snakeyaml/serializer/Serializer.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.serializer; import java.io.IOException; diff --git a/src/main/java/org/yaml/snakeyaml/serializer/SerializerException.java b/src/main/java/org/yaml/snakeyaml/serializer/SerializerException.java index 221a0f55..57ff0926 100644 --- a/src/main/java/org/yaml/snakeyaml/serializer/SerializerException.java +++ b/src/main/java/org/yaml/snakeyaml/serializer/SerializerException.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.serializer; import org.yaml.snakeyaml.error.YAMLException; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/AliasToken.java b/src/main/java/org/yaml/snakeyaml/tokens/AliasToken.java index fddd82f6..34f39136 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/AliasToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/AliasToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/AnchorToken.java b/src/main/java/org/yaml/snakeyaml/tokens/AnchorToken.java index 2867a594..f21469a9 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/AnchorToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/AnchorToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/BlockEndToken.java b/src/main/java/org/yaml/snakeyaml/tokens/BlockEndToken.java index 538d4018..aa4a200f 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/BlockEndToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/BlockEndToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/BlockEntryToken.java b/src/main/java/org/yaml/snakeyaml/tokens/BlockEntryToken.java index f858c808..9c671f75 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/BlockEntryToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/BlockEntryToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/BlockMappingStartToken.java b/src/main/java/org/yaml/snakeyaml/tokens/BlockMappingStartToken.java index f375f26f..c2df9199 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/BlockMappingStartToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/BlockMappingStartToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/BlockSequenceStartToken.java b/src/main/java/org/yaml/snakeyaml/tokens/BlockSequenceStartToken.java index 71c8582f..30c83f29 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/BlockSequenceStartToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/BlockSequenceStartToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/DirectiveToken.java b/src/main/java/org/yaml/snakeyaml/tokens/DirectiveToken.java index 110434a9..5f08ba8c 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/DirectiveToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/DirectiveToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import java.util.List; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/DocumentEndToken.java b/src/main/java/org/yaml/snakeyaml/tokens/DocumentEndToken.java index a88502ee..de44e5e1 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/DocumentEndToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/DocumentEndToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/DocumentStartToken.java b/src/main/java/org/yaml/snakeyaml/tokens/DocumentStartToken.java index cadcb616..63601ecb 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/DocumentStartToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/DocumentStartToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/FlowEntryToken.java b/src/main/java/org/yaml/snakeyaml/tokens/FlowEntryToken.java index 3819707e..4d9ca94d 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/FlowEntryToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/FlowEntryToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingEndToken.java b/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingEndToken.java index 36324dfb..28b3c3c2 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingEndToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingEndToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingStartToken.java b/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingStartToken.java index 6ed5e38f..3e4004c4 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingStartToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/FlowMappingStartToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceEndToken.java b/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceEndToken.java index ec60e8a6..b01d11ff 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceEndToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceEndToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceStartToken.java b/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceStartToken.java index 7aefb435..85999804 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceStartToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/FlowSequenceStartToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/KeyToken.java b/src/main/java/org/yaml/snakeyaml/tokens/KeyToken.java index f176f6d5..c9051b1c 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/KeyToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/KeyToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/ScalarToken.java b/src/main/java/org/yaml/snakeyaml/tokens/ScalarToken.java index 9545e826..66112a2d 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/ScalarToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/ScalarToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/StreamEndToken.java b/src/main/java/org/yaml/snakeyaml/tokens/StreamEndToken.java index 0d1df164..d6d33f45 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/StreamEndToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/StreamEndToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/StreamStartToken.java b/src/main/java/org/yaml/snakeyaml/tokens/StreamStartToken.java index 0067eee9..5db2cbfd 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/StreamStartToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/StreamStartToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/TagToken.java b/src/main/java/org/yaml/snakeyaml/tokens/TagToken.java index 5db71072..46ceeac0 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/TagToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/TagToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/TagTuple.java b/src/main/java/org/yaml/snakeyaml/tokens/TagTuple.java index f66eb14f..4ff430e4 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/TagTuple.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/TagTuple.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; public final class TagTuple { diff --git a/src/main/java/org/yaml/snakeyaml/tokens/Token.java b/src/main/java/org/yaml/snakeyaml/tokens/Token.java index f46acb56..550d0b3d 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/Token.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/Token.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/tokens/ValueToken.java b/src/main/java/org/yaml/snakeyaml/tokens/ValueToken.java index 914d5401..b99c6aec 100644 --- a/src/main/java/org/yaml/snakeyaml/tokens/ValueToken.java +++ b/src/main/java/org/yaml/snakeyaml/tokens/ValueToken.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.tokens; import org.yaml.snakeyaml.error.Mark; diff --git a/src/main/java/org/yaml/snakeyaml/util/ArrayStack.java b/src/main/java/org/yaml/snakeyaml/util/ArrayStack.java index 9da3252d..51b61863 100644 --- a/src/main/java/org/yaml/snakeyaml/util/ArrayStack.java +++ b/src/main/java/org/yaml/snakeyaml/util/ArrayStack.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.util; import java.util.ArrayList; diff --git a/src/main/java/org/yaml/snakeyaml/util/UriEncoder.java b/src/main/java/org/yaml/snakeyaml/util/UriEncoder.java index f7cfdee0..108b15e9 100644 --- a/src/main/java/org/yaml/snakeyaml/util/UriEncoder.java +++ b/src/main/java/org/yaml/snakeyaml/util/UriEncoder.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2008-2011, http://www.snakeyaml.org + * Copyright (c) 2008-2012, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.yaml.snakeyaml.util; import java.io.UnsupportedEncodingException; |