{
-
- @Override
- public Ship deserialize(JsonParser parser, DeserializationContext ctx, Type rtType) {
- String shipName = parser.getString();
- if (shipName.equals("Liberty Saucer")) {
- return new Ship(shipName, Ship.Size.small);
- } else if (shipName.equals("Jakarta Sailboat")) {
- return new Ship(shipName, Ship.Size.small);
- } else if (shipName.equals("WebSphere Battleship")) {
- return new Ship(shipName, Ship.Size.large);
- } else {
- return null;
- }
-
- }
-
-}
diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html
index 3d5897a..e2c3747 100755
--- a/src/main/webapp/index.html
+++ b/src/main/webapp/index.html
@@ -53,14 +53,6 @@ Congrats on your shiny, new Open Liberty sample app!
-
- Ship Assignment
-
-