Formatted all files to the same standard

This commit is contained in:
matthew
2014-10-08 13:42:12 +01:00
parent 53a2a8b150
commit 3da9ad5469
151 changed files with 952 additions and 870 deletions
@@ -6,7 +6,7 @@ import java.util.List;
/**
*
* Composite interface.
*
*
*/
public abstract class LetterComposite {
@@ -15,18 +15,18 @@ public abstract class LetterComposite {
public void add(LetterComposite letter) {
children.add(letter);
}
public int count() {
return children.size();
}
protected abstract void printThisBefore();
protected abstract void printThisAfter();
public void print() {
printThisBefore();
for (LetterComposite letter: children) {
for (LetterComposite letter : children) {
letter.print();
}
printThisAfter();