Skip to content

Commit b492db1

Browse files
committed
Address review comments regarding copyright year changes.
1 parent 71247b0 commit b492db1

File tree

8 files changed

+22
-16
lines changed

8 files changed

+22
-16
lines changed

appengine-java21/appidentity/src/main/java/com/example/appengine/appidentity/IdentityServlet.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2015 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,13 +16,15 @@
1616

1717
package com.example.appengine.appidentity;
1818

19-
import com.google.apphosting.api.ApiProxy;
2019
import java.io.IOException;
20+
2121
import javax.servlet.annotation.WebServlet;
2222
import javax.servlet.http.HttpServlet;
2323
import javax.servlet.http.HttpServletRequest;
2424
import javax.servlet.http.HttpServletResponse;
2525

26+
import com.google.apphosting.api.ApiProxy;
27+
2628
@SuppressWarnings("serial")
2729
// With @WebServlet annotation the webapp/WEB-INF/web.xml is no longer required.
2830
@WebServlet(

appengine-java21/appidentity/src/main/java/com/example/appengine/appidentity/UrlShortener.java

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2016 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,19 +16,21 @@
1616

1717
package com.example.appengine.appidentity;
1818

19-
import com.google.appengine.api.appidentity.AppIdentityService;
20-
import com.google.appengine.api.appidentity.AppIdentityServiceFactory;
21-
import com.google.common.io.CharStreams;
2219
import java.io.InputStream;
2320
import java.io.InputStreamReader;
2421
import java.io.OutputStreamWriter;
2522
import java.net.HttpURLConnection;
2623
import java.net.URL;
2724
import java.nio.charset.StandardCharsets;
2825
import java.util.ArrayList;
26+
2927
import org.json.JSONObject;
3028
import org.json.JSONTokener;
3129

30+
import com.google.appengine.api.appidentity.AppIdentityService;
31+
import com.google.appengine.api.appidentity.AppIdentityServiceFactory;
32+
import com.google.common.io.CharStreams;
33+
3234
@SuppressWarnings("serial")
3335
class UrlShortener {
3436
// [START gae_java21_app_identity_google_apis]

appengine-java21/appidentity/src/main/java/com/example/appengine/appidentity/UrlShortenerServlet.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2016 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@
1818

1919
import java.io.IOException;
2020
import java.io.PrintWriter;
21+
2122
import javax.servlet.annotation.WebServlet;
2223
import javax.servlet.http.HttpServlet;
2324
import javax.servlet.http.HttpServletRequest;

appengine-java21/bigquery/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright 2024 Google LLC
2+
Copyright 2018 Google LLC
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

appengine-java21/bigquery/src/main/java/com/example/appengine/bigquerylogging/TimeSeriesSummary.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2018 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,15 +16,16 @@
1616

1717
package com.example.appengine.bigquerylogging;
1818

19+
import java.util.Collections;
20+
import java.util.Comparator;
21+
import java.util.List;
22+
import java.util.stream.Collectors;
23+
1924
import com.google.common.collect.Collections2;
2025
import com.google.common.collect.Lists;
2126
import com.google.monitoring.v3.Point;
2227
import com.google.monitoring.v3.TimeSeries;
2328
import com.google.protobuf.Timestamp;
24-
import java.util.Collections;
25-
import java.util.Comparator;
26-
import java.util.List;
27-
import java.util.stream.Collectors;
2829

2930
public abstract class TimeSeriesSummary<T> {
3031
private String name;

appengine-java21/bigtable/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2017 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

appengine-java21/bigtable/src/main/java/com/example/bigtable/BigtableHelloWorld.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 Google LLC
2+
* Copyright 2016 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

appengine-java21/bigtable/src/main/webapp/WEB-INF/web.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
Copyright 2024 Google LLC
3+
Copyright 2016 Google LLC
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)