Skip to content

Commit

Permalink
Use servlet 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed Nov 11, 2022
1 parent 1976968 commit b331d9c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 45 deletions.
1 change: 1 addition & 0 deletions flow-commons-upload/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion flow-lit-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>test</scope>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
1 change: 1 addition & 0 deletions flow-plugins/flow-plugin-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
Expand Down
2 changes: 1 addition & 1 deletion flow-polymer-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>test</scope>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,38 +138,6 @@ public RequestDispatcher getNamedDispatcher(String name) {
return null;
}

/*
* (non-Javadoc)
*
* @see jakarta.servlet.ServletContext#getServlet(java.lang.String)
*/
@Override
public Servlet getServlet(String name) throws ServletException {
return null;
}

/*
* (non-Javadoc)
*
* @see jakarta.servlet.ServletContext#getServlets()
*/
@Override
@SuppressWarnings({ "rawtypes", "unchecked" })
public Enumeration getServlets() {
return Collections.enumeration(Collections.EMPTY_SET);
}

/*
* (non-Javadoc)
*
* @see jakarta.servlet.ServletContext#getServletNames()
*/
@Override
@SuppressWarnings({ "rawtypes", "unchecked" })
public Enumeration getServletNames() {
return null;
}

/*
* (non-Javadoc)
*
Expand All @@ -179,16 +147,6 @@ public Enumeration getServletNames() {
public void log(String msg) {
}

/*
* (non-Javadoc)
*
* @see jakarta.servlet.ServletContext#log(java.lang.Exception,
* java.lang.String)
*/
@Override
public void log(Exception exception, String msg) {
}

/*
* (non-Javadoc)
*
Expand Down
1 change: 1 addition & 0 deletions flow-tests/test-memory-leaks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>5.0.0</version>
<version>6.0.0</version>
</dependency>

<dependency>
Expand Down

0 comments on commit b331d9c

Please sign in to comment.