protected void generateLicenseFile ( ) { final CharSequence licenseText = getLicenseText ( ) ; if ( licenseText != null ) { final String text = licenseText . toString ( ) ; if ( ! Strings . isEmpty ( text ) ) { writeFile ( LICENSE_FILE , text . getBytes ( ) ) ; } } }
Generate the LICENSE file .