question: public static void checkNotEmpty ( String string ) { if ( string . isEmpty ( ) ) { throw new NullPointerException ( ) ; } }
target:  Ensures that an string reference passed as a parameter to the calling method is not empty.