Skip to content

Commit

Permalink
Remove obsolete methods TomcatConfigurer#setEngine and TomcatConfigur…
Browse files Browse the repository at this point in the history
…er#setService (#144)
  • Loading branch information
f4lco committed Sep 17, 2020
1 parent 2f61387 commit b618263
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,4 @@ interface TomcatConfigurer {
void setBaseDir(Tomcat tomcat, File baseDir)

void setResourceBase(StandardContext context, Map webappParams)

void setService(Tomcat tomcat, Service service)

void setEngine(Tomcat tomcat, Service service)
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ class TomcatServerConfigurer {
def services = server.findServices()
assert services.length == 1
service = services[0]
configurer.setService(tomcat, service)
configurer.setEngine(tomcat, service)
connectors = service.findConnectors()
tomcat.host = service.getContainer().findChildren().find { it instanceof Host }
tomcat.port = connectors[0].port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,4 @@
*/
package org.akhikhl.gretty

import org.apache.catalina.Service
import org.apache.catalina.startup.Tomcat

class TomcatConfigurerImpl extends AbstractTomcatConfigurerImpl{

@Override
void setService(Tomcat tomcat, Service service) {

}

@Override
void setEngine(Tomcat tomcat, Service service) {

}
}
class TomcatConfigurerImpl extends AbstractTomcatConfigurerImpl {}

0 comments on commit b618263

Please sign in to comment.