ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/buildutil/Utils.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/buildutil/Utils.java
Status
scanned
Type
file
Name
Utils.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2770 (2.7 KB)
MD5
de25d629f53ff325b17e5e07544f14f3
SHA1
dd8830ebfa5e9df8981c8deabb7751dc537d28d6
SHA256
ce32bc98bfe8e508f082cc69d5f1e1e7795f17b2ca48ae0f60933a22a76bb996
SHA512

      
    
SHA1_git
a887486c4bb8c154b9c104705f5bf649db8d2fbb
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Utils.java | 2.7 KB |

/* * 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 org.apache.tomcat.buildutil; import java.io.IOException; import java.io.Writer; public class Utils { private Utils() { // Utility class. Hide default constructor. } public static void insertLicense(Writer w) throws IOException { w.write("# Licensed to the Apache Software Foundation (ASF) under one or more"); w.write(System.lineSeparator()); w.write("# contributor license agreements. See the NOTICE file distributed with"); w.write(System.lineSeparator()); w.write("# this work for additional information regarding copyright ownership."); w.write(System.lineSeparator()); w.write("# The ASF licenses this file to You under the Apache License, Version 2.0"); w.write(System.lineSeparator()); w.write("# (the \"License\"); you may not use this file except in compliance with"); w.write(System.lineSeparator()); w.write("# the License. You may obtain a copy of the License at"); w.write(System.lineSeparator()); w.write("#"); w.write(System.lineSeparator()); w.write("# http://www.apache.org/licenses/LICENSE-2.0"); w.write(System.lineSeparator()); w.write("#"); w.write(System.lineSeparator()); w.write("# Unless required by applicable law or agreed to in writing, software"); w.write(System.lineSeparator()); w.write("# distributed under the License is distributed on an \"AS IS\" BASIS,"); w.write(System.lineSeparator()); w.write("# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."); w.write(System.lineSeparator()); w.write("# See the License for the specific language governing permissions and"); w.write(System.lineSeparator()); w.write("# limitations under the License."); w.write(System.lineSeparator()); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
64.67
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
apache_2_0-04a4f0b4-ba74-82bf-5a35-a90db00a6566 apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9