ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/tomcat/dbcp/pool2/impl/NoOpCallStack.java

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

      
    
Rootfs path

      
    
Size
1603 (1.6 KB)
MD5
f88e8ae10e1c0c37915eb43cf0a39c34
SHA1
f5601c1a39662f1727393a9e86b1725f6ed7ab76
SHA256
923c5fcede2cd0f99dbe559019937d15d3a36c0a533c7e3010802a79b82f8d8f
SHA512

      
    
SHA1_git
a7802433832c66b218645a7fbd0f57cf36d116f9
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
NoOpCallStack.java | 1.6 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 * * https://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.dbcp.pool2.impl; import java.io.PrintWriter; /** * CallStack strategy using no-op implementations of all functionality. Can be used by default when abandoned object * logging is disabled. * * @since 2.5 */ public class NoOpCallStack implements CallStack { /** * The singleton instance. */ public static final CallStack INSTANCE = new NoOpCallStack(); /** * Constructs the singleton instance. */ private NoOpCallStack() { } @Override public void clear() { // no-op } @Override public void fillInStackTrace() { // no-op } @Override public boolean printStackTrace(final PrintWriter writer) { return false; } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
61.34
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-eb6b5ae0-4f88-4e9b-d67c-c6c8e733b1cd apache-2.0 Apache-2.0
URL Start line End line
https://www.apache.org/licenses/LICENSE-2.0 9 9