Buggy code:
public class ConfidentialityWriter { private static String username ; private static String password ; private static Key key ; private static final String FILENAME = ( ( ( Constants . APP_FOLDER ) + "Chat_Confidentiality_" ) + ( APP_VERSION . replaceAll ( "<seq2seq4repair_space>" , "_" ) ) ) + ".BeanPlant" ; private static final Logger LOG = Logger . getLogger ( ConfidentialityWriter . class . getName ( ) ) ; private static ErrorHandler errorHandler ; public static void main ( String [ ] args ) { } public ConfidentialityWriter ( ) { } public static void saveConfidentiality ( ) { FileWriter fileWriter = null ; BufferedWriter buffWriter = null ; final File appFolder = new File ( Constants . APP_FOLDER ) ; if ( ! ( appFolder . exists ( ) ) ) { appFolder . mkdir ( ) ; } try { fileWriter = new FileWriter ( ConfidentialityWriter . FILENAME ) ; buffWriter = new BufferedWriter ( fileWriter ) ; buffWriter . write ( ( "username=" + ( EncryptionUtils . encryptedMessage ( ConfidentialityWriter . username , null ) ) ) ) ; buffWriter . newLine ( ) ; buffWriter . write ( ( "password=" + ( EncryptionUtils . encryptedMessage ( ConfidentialityWriter . password , EncryptionUtils . getkey ( ) ) ) ) ) ; buffWriter . newLine ( ) ; buffWriter . write ( ( "key=" + ( EncryptionUtils . getkey ( ) ) ) ) ; System . out . println ( ( "1USR:<seq2seq4repair_space>" + ( EncryptionUtils . encryptedMessage ( ConfidentialityWriter . username , EncryptionUtils . getkey ( ) ) ) ) ) ; System . out . println ( ( "1PAS:<seq2seq4repair_space>" + ( EncryptionUtils . encryptedMessage ( ConfidentialityWriter . password , EncryptionUtils . getkey ( ) ) ) ) ) ; } catch ( final IOException e ) { ConfidentialityWriter . LOG . log ( Level . SEVERE , e . toString ( ) ) ; ConfidentialityWriter . errorHandler . showError ( ( "Settings<seq2seq4repair_space>could<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>saved:\n<seq2seq4repair_space>" + e ) ) ; } finally { try { <START_BUG> Runtime . getRuntime ( ) . exec ( ( "attrib<seq2seq4repair_space>+H<seq2seq4repair_space>" + ".BeanPlant" ) ) ; <END_BUG> } catch ( final IOException e ) { ConfidentialityWriter . LOG . log ( Level . SEVERE , e . toString ( ) , e ) ; } try { if ( buffWriter != null ) { buffWriter . flush ( ) ; } } catch ( final IOException e ) { ConfidentialityWriter . LOG . log ( Level . SEVERE , e . toString ( ) , e ) ; } try { if ( fileWriter != null ) { fileWriter . flush ( ) ; } } catch ( final IOException e ) { ConfidentialityWriter . LOG . log ( Level . SEVERE , e . toString ( ) , e ) ; } try { if ( buffWriter != null ) { buffWriter . close ( ) ; } } catch ( final IOException e ) { ConfidentialityWriter . LOG . log ( Level . SEVERE , e . toString ( ) , e ) ; } try { if ( fileWriter != null ) { fileWriter . close ( ) ; } } catch ( final IOException e ) { ConfidentialityWriter . LOG . log ( Level . SEVERE , e . toString ( ) , e ) ; } } } public static void loadConfidentiality ( ) { } public static String getUsername ( ) { } public static void setUsername ( String newUsername ) { } public static String getPassword ( ) { } public static void setPassword ( String newPassword ) { } public static Key getKey ( ) { } public static void setKey ( Key newKey ) { } }

Fix:
Runtime . getRuntime ( ) . exec ( ( "attrib<seq2seq4repair_space>+H<seq2seq4repair_space>" + ".BeanPlant!" ) ) ;