Skip to content

Commit b8e0569

Browse files
committed
Fixing Lint.
1 parent 97a4342 commit b8e0569

File tree

2 files changed

+9
-7
lines changed
  • appengine-java25

2 files changed

+9
-7
lines changed

appengine-java25/ee11/analytics/src/main/java/com/example/appengine/analytics/AnalyticsServlet.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,21 @@
1717
package com.example.appengine.analytics;
1818

1919
// [START gae_java25_analytics_track]
20+
2021
import com.google.appengine.api.urlfetch.URLFetchService;
2122
import com.google.appengine.api.urlfetch.URLFetchServiceFactory;
22-
import java.io.IOException;
23-
import java.net.URI;
24-
import java.net.URISyntaxException;
25-
import java.net.URL;
2623
import jakarta.servlet.ServletException;
2724
import jakarta.servlet.annotation.WebServlet;
2825
import jakarta.servlet.http.HttpServlet;
2926
import jakarta.servlet.http.HttpServletRequest;
3027
import jakarta.servlet.http.HttpServletResponse;
3128
import org.apache.http.client.utils.URIBuilder;
3229

30+
import java.io.IOException;
31+
import java.net.URI;
32+
import java.net.URISyntaxException;
33+
import java.net.URL;
34+
3335
@SuppressWarnings("serial")
3436
// With @WebServlet annotation the webapp/WEB-INF/web.xml is no longer required.
3537
@WebServlet(

appengine-java25/ee8/analytics/src/main/webapp/WEB-INF/web.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
limitations under the License.
1414
-->
1515
<!-- [END_EXCLUDE] -->
16-
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
16+
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
1717
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18-
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
19-
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1">
18+
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"
19+
version="6.0">
2020
<welcome-file-list>
2121
<welcome-file>analytics</welcome-file>
2222
</welcome-file-list>

0 commit comments

Comments
 (0)