Gerard Smyth
2014-04-01 f76fee63ed9cb3a30d3c0c092d860b1cb93a481b
src/main/java/com/gitblit/Constants.java
@@ -403,6 +403,27 @@
   }
   /**
    * Enumeration of the feed content object types.
    */
   public static enum FeedContentObjectType {
      COMMIT, TAG;
      public static FeedContentObjectType forName(String name) {
         for (FeedContentObjectType type : values()) {
            if (type.name().equalsIgnoreCase(name)) {
               return type;
            }
         }
         return COMMIT;
      }
      @Override
      public String toString() {
         return name().toLowerCase();
      }
   }
   /**
    * The types of objects that can be indexed and queried.
    */
   public static enum SearchObjectType {