Browse Source

Merge pull request #8 from bartoszmajsak/minor_fixes

chore: removes dead code and fixes typo
pull/10/head^2
Andrea Cosentino 8 years ago committed by GitHub
parent
commit
6290372ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/main/java/com/redhat/fuse/boosters/rest/http/CamelRouter.java
  2. 4
      src/main/java/com/redhat/fuse/boosters/rest/http/IndexRootMapper.java

2
src/main/java/com/redhat/fuse/boosters/rest/http/CamelRouter.java

@ -5,7 +5,7 @@ import org.apache.camel.model.rest.RestBindingMode;
import org.springframework.stereotype.Component;
/**
* A simple Camel REST DSL route that implement the greetings service.
* A simple Camel REST DSL route that implements the greetings service.
*
*/
@Component

4
src/main/java/com/redhat/fuse/boosters/rest/http/IndexRootMapper.java

@ -14,8 +14,4 @@ public class IndexRootMapper extends WebMvcConfigurerAdapter {
registry.addViewController("/").setViewName("forward:/rest-http-index.html");
}
// @Override
// public void addViewControllers(ViewControllerRegistry registry) {
// registry.addViewController("/").setStatusCode(HttpStatus.PERMANENT_REDIRECT).setViewName("redirect:/webjars/swagger-ui/index.html?url=/camel/api-doc&validatorUrl=");
// }
}
Loading…
Cancel
Save