question: private static void checkPermission ( ) throws SecurityException { SecurityManager sm = System . getSecurityManager ( ) ; if ( sm != null ) { sm . checkPermission ( new JodaTimePermission ( "CurrentTime.setProvider" ) ) ; } }
target:  Checks whether the provider may be changed using permission 'CurrentTime.setProvider'.