package eg.projects;

/**
 * Constants for project types
 */
public enum ProjectTypes {

   GENERIC("Generic"),
   HTML("HTML"),
   JAVA("Java"),
   PERL("Perl"),
   R("R");
   
   private final String display;
   
   /**
    * Returns the display value associated with a project category
    *
    * @return  the display value
    */
   public String display() {
      return display;
   }
   
   private ProjectTypes(String display) {
      this.display = display;
   }
}

package eg.projects;

/**
 * Constants for project types
 */
public enum ProjectTypes {

   GENERIC("Generic"),
   HTML("HTML"),
   JAVA("Java"),
   PERL("Perl"),
   R("R");

   private final String display;

   /**
    * Returns the display value associated with a project category
    *
    * @return  the display value
    */
   public String display() {
      return display;
   }

   private ProjectTypes(String display) {
      this.display = display;
   }
}

make text corrections (remove spaces)