This is a refactoring challenge where we look at a single-method case, which is untested, needs refactoring, and is hard to read. Oh, and contains bugs;-)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* CodingAssignments Refactoring: GearBox | |
* | |
* This is a refactoring challenge where the candidate can look at a single-method | |
* case, where the method is untested, needs refactoring, and is hard to read. Oh, | |
* and contains bugs;-) | |
* | |
* The assignment is as follows: | |
* | |
* This is the code for our customer's new environmentally friendly electric car. |
I hereby claim:
- I am wouterla on github.
- I am wouterla (https://keybase.io/wouterla) on keybase.
- I have a public key ASB1szRSLVFIujoEZXf0ZIotpLU_rDhC14tnZNDrXB0HrAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.confirmationletter; | |
import java.math.BigDecimal; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Map; | |
import org.apache.commons.lang.StringUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import test.package |