You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/10/10 06:42:20 UTC
[groovy] branch master updated: fix checkstyle warnings
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new c328bdc fix checkstyle warnings
c328bdc is described below
commit c328bdc4c1de1f3f1f216a0509154e5ca7d7b960
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Oct 10 16:42:13 2021 +1000
fix checkstyle warnings
---
.../src/main/java/groovy/yaml/package-info.java | 23 ++++++++++++++++++++++
.../org/apache/groovy/yaml/util/YamlConverter.java | 2 +-
.../org/apache/groovy/yaml/util/package-info.java | 23 ++++++++++++++++++++++
3 files changed, 47 insertions(+), 1 deletion(-)
diff --git a/subprojects/groovy-yaml/src/main/java/groovy/yaml/package-info.java b/subprojects/groovy-yaml/src/main/java/groovy/yaml/package-info.java
new file mode 100644
index 0000000..c0818d8
--- /dev/null
+++ b/subprojects/groovy-yaml/src/main/java/groovy/yaml/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * Classes for building and parsing <a href="https://yaml.org/">YAML</a>.
+ */
+package groovy.yaml;
diff --git a/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/YamlConverter.java b/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/YamlConverter.java
index 72a91b4..f99833c 100644
--- a/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/YamlConverter.java
+++ b/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/YamlConverter.java
@@ -32,7 +32,7 @@ import java.util.List;
* A converter for converting YAML to JSON, vice versa
* @since 3.0.0
*/
-public class YamlConverter {
+public final class YamlConverter {
/**
* Convert yaml to json
* @param yamlReader the reader of yaml
diff --git a/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/package-info.java b/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/package-info.java
new file mode 100644
index 0000000..0a79ff3
--- /dev/null
+++ b/subprojects/groovy-yaml/src/main/java/org/apache/groovy/yaml/util/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * Utility classes for YAML processing.
+ */
+package org.apache.groovy.yaml.util;