package com.iluwatar;

public enum WeaponType {

	SHORT_SWORD, SPEAR, AXE;

	@Override
	public String toString() {
		String s = "";
		switch (this) {
		case SHORT_SWORD:
			s = "short sword";
			break;
		case SPEAR:
			s = "spear";
			break;
		case AXE:
			s = "axe";
			break;
		}
		return s;
	}

}

@@ -62,243 +62,212 @@
 WORD
-, SPEAR, AXE;%0D%0A%0D%0A%09@Override%0D%0A%09public String toString() %7B%0D%0A%09%09String s = %22%22;%0D%0A%09%09switch (this) %7B%0D%0A%09%09case SHORT_SWORD:%0D%0A%09%09%09s = %22short sword%22;%0D%0A%09%09%09break;%0D%0A%09%09case SPEAR:%0D%0A%09%09%09s = %22spear%22;%0D%0A%09%09%09break;%0D%0A%09%09case AXE:%0D%0A%09%09%09s = %22axe%22;%0D%0A%09%09%09break;%0D%0A%09%09%7D
+(%22short sword%22), SPEAR(%22spear%22), AXE(%22axe%22), UNDEFINED(%22%22);%0D%0A%0D%0A    private String title;%0D%0A%0D%0A    WeaponType(String title) %7B%0D%0A        this.title = title;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A%09public String toString() %7B
 %0D%0A%09%09
@@ -277,17 +277,19 @@
 urn 
-s
+title
 ;%0D%0A%09%7D%0D%0A
-%0D%0A
 %7D%0D%0A

Update WeaponType enum in factory-method pattern.