@@ -73,21 +73,23 @@ private Document generateTemplate() throws Exception {
73
73
doc .appendChild (doc .createProcessingInstruction (
74
74
"xml-stylesheet" , "type=\" text/xsl\" href=\" configuration.xsl\" " ));
75
75
76
- doc .appendChild (doc .createComment ("\n " +
77
- " Licensed to the Apache Software Foundation (ASF) under one or more\n " +
78
- " contributor license agreements. See the NOTICE file distributed with\n " +
79
- " this work for additional information regarding copyright ownership.\n " +
80
- " The ASF licenses this file to You under the Apache License, Version 2.0\n " +
81
- " (the \" License\" ); you may not use this file except in compliance with\n " +
82
- " the License. You may obtain a copy of the License at\n " +
83
- "\n " +
84
- " http://www.apache.org/licenses/LICENSE-2.0\n " +
85
- "\n " +
86
- " Unless required by applicable law or agreed to in writing, software\n " +
87
- " distributed under the License is distributed on an \" AS IS\" BASIS,\n " +
88
- " WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n " +
89
- " See the License for the specific language governing permissions and\n " +
90
- " limitations under the License.\n " ));
76
+ doc .appendChild (doc .createComment ("""
77
+
78
+ Licensed to the Apache Software Foundation (ASF) under one or more
79
+ contributor license agreements. See the NOTICE file distributed with
80
+ this work for additional information regarding copyright ownership.
81
+ The ASF licenses this file to You under the Apache License, Version 2.0
82
+ (the "License"); you may not use this file except in compliance with
83
+ the License. You may obtain a copy of the License at
84
+
85
+ http://www.apache.org/licenses/LICENSE-2.0
86
+
87
+ Unless required by applicable law or agreed to in writing, software
88
+ distributed under the License is distributed on an "AS IS" BASIS,
89
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
90
+ See the License for the specific language governing permissions and
91
+ limitations under the License.
92
+ """ ));
91
93
92
94
Element root = doc .createElement ("configuration" );
93
95
doc .appendChild (root );
0 commit comments