Buggy code:
public class Controller { public void saveEditMethod ( OrderFrame ofSaveFrom ) { Error er ; ErrorChecker ec = new ErrorChecker ( ) ; Order orderSaveTo = ofSaveFrom . orderShown ; String appProductID = "" ; String decProducdID = "" ; HashMap < Product , Integer > tempHashMap = null ; if ( ec . isOrderIDValid ( ofSaveFrom . orderIDField . getText ( ) ) ) { appProductID = ofSaveFrom . orderIDField . getText ( ) ; if ( ! ( ofSaveFrom . chosenProducts . isEmpty ( ) ) ) { if ( ec . isDeliveryValid ( ofSaveFrom . deliveryTypeField . getText ( ) ) ) { if ( ec . isPaymentValid ( ofSaveFrom . paymentTypeField . getText ( ) ) ) { if ( ec . isNameValid ( ofSaveFrom . customerNameField . getText ( ) ) ) { if ( ec . isEmailValid ( ofSaveFrom . customerEmailField . getText ( ) ) ) { if ( ec . isAddressValid ( ofSaveFrom . deliveryAddressZipField . getText ( ) ) ) { if ( ec . isStreetnameValid ( ofSaveFrom . deliveryAddressField . getText ( ) ) ) { if ( ec . isPhonenumberValid ( ofSaveFrom . customerPhonenumberField . getText ( ) ) ) { <START_BUG> System . out . println ( "SaveEditMethod<seq2seq4repair_space>har<seq2seq4repair_space>godkendt" ) ; <END_BUG> orderSaveTo . setOrderID ( ofSaveFrom . orderIDField . getText ( ) ) ; orderSaveTo . setListOfProducts ( ofSaveFrom . listOfProducts ) ; orderSaveTo . setDeliveryType ( ofSaveFrom . deliveryTypeField . getText ( ) ) ; orderSaveTo . setPaymentType ( ofSaveFrom . paymentTypeField . getText ( ) ) ; if ( orderSaveTo instanceof Outgoing ) { saveEditOutgoing ( ofSaveFrom , ( ( Outgoing ) ( orderSaveTo ) ) ) ; } else if ( orderSaveTo instanceof Incoming ) { saveEditIncoming ( ofSaveFrom , ( ( Incoming ) ( orderSaveTo ) ) ) ; int phone = Integer . parseInt ( ofSaveFrom . customerPhonenumberField . getText ( ) ) ; String email = ofSaveFrom . customerEmailField . getText ( ) ; String name = ofSaveFrom . customerNameField . getText ( ) ; String address = ofSaveFrom . deliveryAddressField . getText ( ) ; String city = ofSaveFrom . deliveryAddressCityField . getText ( ) ; String zip = ofSaveFrom . deliveryAddressZipField . getText ( ) ; String country = ofSaveFrom . deliveryAddressCountryField . getText ( ) ; Customer customerOfOrder = new Customer ( phone , email , name , address , city , zip , country ) ; customerOfOrder . Update ( ) ; } orderSaveTo . Update ( ) ; ofSaveFrom . dispose ( ) ; } else { er = new Error ( ofSaveFrom . customerPhonenumberField . getText ( ) , "Telefon" ) ; } } else { er = new Error ( ofSaveFrom . deliveryAddressField . getText ( ) , "Adresse" ) ; } } else { er = new Error ( ofSaveFrom . deliveryAddressZipField . getText ( ) , "Postnummer" ) ; } } else { er = new Error ( ofSaveFrom . customerEmailField . getText ( ) , "Email" ) ; } } else { er = new Error ( ofSaveFrom . customerNameField . getText ( ) , "Navn" ) ; } } else { er = new Error ( ofSaveFrom . paymentTypeField . getText ( ) , "Betalingstype" ) ; } } else { er = new Error ( ofSaveFrom . deliveryTypeField . getText ( ) , "Lev.Type" ) ; } } else { er = new Error ( "Intet<seq2seq4repair_space>produkt<seq2seq4repair_space>valgt" , "Produkter" ) ; } } else { er = new Error ( ofSaveFrom . orderIDField . getText ( ) , "Ordre<seq2seq4repair_space>ID" ) ; } } private void saveEditOutgoing ( OrderFrame ofSaveFrom , Outgoing orderSaveTo ) { } private void saveEditIncoming ( OrderFrame ofSaveFrom , Incoming orderSaveTo ) { } public void changeStatusMethod ( Order orderToChange ) { } public DataBaseElement getElementFromTable ( JTable table , String classToTestFor ) { } public String packageCustomerAddress ( String address , String city , String zip , String country ) { } public String packageSupplier ( String supplierName , String supplierEmail , String ownAddress , String ownCity , String ownZip , String ownCountry , String ownPhonenumber ) { } public String [ ] unpackage ( String completeString ) { } }

Fix:
System . out . println ( "Alle<seq2seq4repair_space>felter<seq2seq4repair_space>godkendt<seq2seq4repair_space>-<seq2seq4repair_space>der<seq2seq4repair_space>kan<seq2seq4repair_space>skrives<seq2seq4repair_space>til<seq2seq4repair_space>DB" ) ;