[java-idp-plugin-thymeleaf] 01/02: Code cleanup.

Scott Cantor cantor.2 at osu.edu
Tue Feb 6 18:23:42 UTC 2024


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-plugin-thymeleaf.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-thymeleaf.git;a=commit;h=b61cb85c397a0a4e6dda5b81cb368bbff8cdb29d

commit b61cb85c397a0a4e6dda5b81cb368bbff8cdb29d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Feb 6 13:23:19 2024 -0500

    Code cleanup.
---
 thymeleaf-impl/.checkstyle                             | 10 ++++++++++
 .../idp/plugin/thymeleaf/impl/ThymeleafModule.java     | 16 +++++++++++++++-
 .../idp/plugin/thymeleaf/impl/ThymeleafPlugin.java     | 14 ++++++++++++++
 .../idp/plugin/thymeleaf/impl/package-info.java        | 18 ++++++++++++++++++
 .../idp/plugin/thymeleaf/spring/impl/package-info.java | 18 ++++++++++++++++++
 5 files changed, 75 insertions(+), 1 deletion(-)

diff --git a/thymeleaf-impl/.checkstyle b/thymeleaf-impl/.checkstyle
new file mode 100644
index 0000000..0c53834
--- /dev/null
+++ b/thymeleaf-impl/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+  <local-check-config name="Shibboleth Checkstyle" location="/java-idp-plugin-thymeleaf/resources/checkstyle/checkstyle.xml" type="project" description="">
+    <additional-data name="protect-config-file" value="false"/>
+  </local-check-config>
+  <fileset name="main" enabled="true" check-config-name="Shibboleth Checkstyle" local="true">
+    <file-match-pattern match-pattern="src/main/java/.*\.java$" include-pattern="true"/>
+  </fileset>
+</fileset-config>
diff --git a/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafModule.java b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafModule.java
index 42d43ed..18cf62c 100644
--- a/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafModule.java
+++ b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafModule.java
@@ -1,3 +1,17 @@
+/*
+ * 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 net.shibboleth.idp.plugin.thymeleaf.impl;
 
 import java.io.IOException;
@@ -7,7 +21,7 @@ import net.shibboleth.idp.module.impl.PluginIdPModule;
 import net.shibboleth.profile.module.ModuleException;
 
 /**
- * {@link IdPModule IdP Module} implementation.
+ * {@link IdPModule} implementation.
  */
 public class ThymeleafModule extends PluginIdPModule{
     
diff --git a/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafPlugin.java b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafPlugin.java
index aea709a..15b4acc 100644
--- a/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafPlugin.java
+++ b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/ThymeleafPlugin.java
@@ -1,3 +1,17 @@
+/*
+ * 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 net.shibboleth.idp.plugin.thymeleaf.impl;
 
 import java.io.IOException;
diff --git a/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/package-info.java b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/package-info.java
new file mode 100644
index 0000000..91a6325
--- /dev/null
+++ b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/impl/package-info.java
@@ -0,0 +1,18 @@
+/*
+ * 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.
+ */
+
+/**
+ * Support for Thymeleaf.
+ */
+package net.shibboleth.idp.plugin.thymeleaf.impl;
\ No newline at end of file
diff --git a/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/spring/impl/package-info.java b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/spring/impl/package-info.java
new file mode 100644
index 0000000..82c0fd5
--- /dev/null
+++ b/thymeleaf-impl/src/main/java/net/shibboleth/idp/plugin/thymeleaf/spring/impl/package-info.java
@@ -0,0 +1,18 @@
+/*
+ * 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 support for Thymeleaf.
+ */
+package net.shibboleth.idp.plugin.thymeleaf.spring.impl;
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list