You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/08/02 08:27:15 UTC
svn commit: r1368358 -
/myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContent.java
Author: lofwyr
Date: Thu Aug 2 06:27:15 2012
New Revision: 1368358
URL: http://svn.apache.org/viewvc?rev=1368358&view=rev
Log:
code style
Modified:
myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContent.java
Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContent.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContent.java?rev=1368358&r1=1368357&r2=1368358&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContent.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContent.java Thu Aug 2 06:27:15 2012
@@ -19,21 +19,20 @@
package org.apache.myfaces.tobago.apt.annotation;
-/*
- * Created: Apr 20, 2005 5:08:01 PM
- * $Id$
- */
public enum BodyContent {
JSP, EMPTY, TAGDEPENDENT;
- public String toString(){
+ public String toString() {
switch (this) {
- case JSP: return "JSP";
- case EMPTY: return "empty";
- case TAGDEPENDENT: return "tagdependent";
+ case JSP:
+ return "JSP";
+ case EMPTY:
+ return "empty";
+ case TAGDEPENDENT:
+ return "tagdependent";
default:
- throw new IllegalStateException("Unexpected BodyContent "+name());
+ throw new IllegalStateException("Unexpected BodyContent " + name());
}
}
}