ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/jakarta/el/TesterBean.java

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

      
    
Rootfs path

      
    
Size
1970 (1.9 KB)
MD5
66ec349169b935d80e726777e3ad945c
SHA1
991245ed66131f0b9389ee588dc5265ce5fa8203
SHA256
3de5cf7f708994b47f7aecaface9ca7cbc7c5a759c5826cd30b8b603eebbe371
SHA512

      
    
SHA1_git
7f727773644f0a2c3561015473ce3520d4d7f7bd
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
TesterBean.java | 1.9 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 jakarta.el; import java.beans.BeanProperty; public class TesterBean { private String name; private Integer[] valueC; public TesterBean(String name) { this.name = name; } public String getName() { return name; } public String getNameVarargs(@SuppressWarnings("unused") Integer... someNumbers) { return name; } public String getNameVarargs(@SuppressWarnings("unused") Boolean someBoolean, @SuppressWarnings("unused") Integer... someNumbers) { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return getName(); } public String getValueA() throws Exception { throw new Exception(); } public int[] getValueB() { return new int[] { 1, 2, 3, 4, 5 }; } public void setValueC(Integer[] values) { valueC = values; } public Integer[] getValueC() { return valueC; } @BeanProperty public String getValueD() { return ""; } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
54.59
Copyrights

      
    
Holders

      
    
Authors

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