Changeset 1346 for trunk/universe/kauri-template/src/main/java/org/kauriproject/template/Directive.java
- Timestamp:
- 2009-07-02 15:06:52 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/universe/kauri-template/src/main/java/org/kauriproject/template/Directive.java
r1344 r1346 121 121 } 122 122 123 /** 124 * Returns null if name is not recognized. 125 */ 123 126 public static Directive fromString(String name) { 124 127 if (name.equals(FOREACH.tagName)) … … 163 166 return TEXT; 164 167 else 165 return null; // throw RuntimeException ?168 return null; 166 169 } 167 170 }
Note: See TracChangeset
for help on using the changeset viewer.