Permalink
Browse files

minor warning

  • Loading branch information...
karesti committed Nov 4, 2010
1 parent 2e98522 commit b79201e0b6c744e32167d1a928c74dac8c914e0e
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/main/java/com/tap5/hotelbooking/components/Workspace.java
@@ -22,6 +22,7 @@
*/
public class Workspace
{
+ @SuppressWarnings("unused")
@Property
private DateFormat format = new SimpleDateFormat("MM/dd/yyyy");
@@ -31,7 +32,7 @@
@Inject
private PageRenderLinkSource linkSource;
-
+
@Property
private Booking current;
@@ -42,9 +43,7 @@
public Link getBookLink()
{
- Link result = linkSource.createPageRenderLinkWithContext(
- "book",
- current.getHotel());
+ Link result = linkSource.createPageRenderLinkWithContext("book", current.getHotel());
return result;
}

0 comments on commit b79201e

Please sign in to comment.