You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/07/05 14:16:57 UTC
(logging-log4j2) 03/04: Fix formatting
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 1e2d99f1881d539bafb12a74a47770cf04dfc260
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Tue Jul 2 13:16:09 2024 +0200
Fix formatting
---
.../migrate-from-logback/MigrateFromLogback.java | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/site/antora/modules/ROOT/examples/migrate-from-logback/MigrateFromLogback.java b/src/site/antora/modules/ROOT/examples/migrate-from-logback/MigrateFromLogback.java
index 295133b005..d9b1b2b8bb 100644
--- a/src/site/antora/modules/ROOT/examples/migrate-from-logback/MigrateFromLogback.java
+++ b/src/site/antora/modules/ROOT/examples/migrate-from-logback/MigrateFromLogback.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package example;
import org.apache.logging.log4j.LogManager;
@@ -25,4 +41,4 @@ class MigrateFromLogback {
}
// end::right[]
}
-}
\ No newline at end of file
+}