package net.contargo.iris.web;

import net.contargo.iris.api.AbstractController;

import org.springframework.stereotype.Controller;

import org.springframework.ui.Model;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * @author  Sandra Thieme - thieme@synyx.de
 */
@Controller
public class RootController extends AbstractController {

    public static final String ROOT = SLASH;

    @RequestMapping(value = SLASH + STAR, method = RequestMethod.GET)
    public String index(Model model) {

        return INDEX;
    }


    @RequestMapping(value = SLASH + TRIANGLE + SLASH, method = RequestMethod.GET)
    public String triangle() {

        return TRIANGLE_VIEW;
    }
}

@@ -227,23 +227,31 @@
 apping;%0A
+%0A
 import 
+static 
 org.spri
@@ -295,16 +295,20 @@
 stMethod
+.GET
 ;%0A%0A%0A/**%0A
@@ -429,54 +429,8 @@
  %7B%0A%0A
-    public static final String ROOT = SLASH;%0A%0A
     
@@ -472,38 +472,24 @@
 R, method = 
-RequestMethod.
 GET)%0A    pub
@@ -614,30 +614,16 @@
 ethod = 
-RequestMethod.
 GET)%0A   

remove unused variable, add static imports