private void ensureSpringDevToolSecretToken() throws MojoExecutionException {
        Properties properties = SpringBootUtil.getSpringBootApplicationProperties(MavenUtil.getCompileClassLoader(getProject()));
        String remoteSecret = properties.getProperty(DEV_TOOLS_REMOTE_SECRET);
        if (Strings.isNullOrEmpty(remoteSecret)) {
            addSecretTokenToApplicationProperties();
            throw new MojoExecutionException("No spring.devtools.remote.secret found in application.properties. Plugin has added it, please re-run goals");
        }
    }
private void ensureSpringDevToolSecretToken() throws MojoExecutionException {
        Properties properties = SpringBootUtil.getSpringBootApplicationProperties(MavenUtil.getCompileClassLoader(getProject()));
        String remoteSecret = properties.getProperty(DEV_TOOLS_REMOTE_SECRET);
        if (Strings.isNullOrEmpty(remoteSecret)) {
            addSecretTokenToApplicationProperties();
            throw new MojoExecutionException("No spring.devtools.remote.secret found in application.properties. Plugin has added it, please re-run goals");
        }
    }
private void ensureSpringDevToolSecretToken ( ) throws MojoExecutionException { Properties properties = SpringBootUtil . getSpringBootApplicationProperties ( MavenUtil . getCompileClassLoader ( getProject ( ) ) ) ; String remoteSecret = properties . getProperty ( DEV_TOOLS_REMOTE_SECRET ) ; if ( Strings . isNullOrEmpty ( remoteSecret ) ) { addSecretTokenToApplicationProperties ( ) ; throw new MojoExecutionException ( "No spring.devtools.remote.secret found in application.properties. Plugin has added it, please re-run goals" ) ; } }
=============================================================================
=============================================================================