@ Nonnull private static Properties findDefaultProperties ( ) { final InputStream in = SourceCodeFormatter . class . getClassLoader ( ) . getResourceAsStream ( DEFAULT_PROPERTIES_PATH ) ; final Properties p = new Properties ( ) ; try { p . load ( in ) ; } catch ( final IOException e ) { throw new RuntimeException ( String . format ( "Can not load resource %s" , DEFAULT_PROPERTIES_PATH ) ) ; } return p ; }
Gets the default options to be passed when no custom properties are given .