Skip to content

Instantly share code, notes, and snippets.

/*
* 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.

Top Gear Refactoring Kata

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;-)

The assignment is as follows

Keybase proof

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:

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;
@wouterla
wouterla / test.groovy
Created June 15, 2012 15:11
Test a Gist
import test.package