mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
potential NPE
This commit is contained in:
parent
f624b6343f
commit
84b7c5d0a4
1 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
package org.springframework.samples.petclinic;
|
||||
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
public class ExperimentsForPullRequests {
|
||||
|
||||
public static void foo(@Nullable String s){
|
||||
System.out.println("String length: " + s.length());
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue