File tree Expand file tree Collapse file tree 8 files changed +22
-16
lines changed
appidentity/src/main/java/com/example/appengine/appidentity
src/main/java/com/example/appengine/bigquerylogging
java/com/example/bigtable Expand file tree Collapse file tree 8 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 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.
1616
1717package com .example .appengine .appidentity ;
1818
19- import com .google .apphosting .api .ApiProxy ;
2019import java .io .IOException ;
20+
2121import javax .servlet .annotation .WebServlet ;
2222import javax .servlet .http .HttpServlet ;
2323import javax .servlet .http .HttpServletRequest ;
2424import 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 (
Original file line number Diff line number Diff line change 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.
1616
1717package 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 ;
2219import java .io .InputStream ;
2320import java .io .InputStreamReader ;
2421import java .io .OutputStreamWriter ;
2522import java .net .HttpURLConnection ;
2623import java .net .URL ;
2724import java .nio .charset .StandardCharsets ;
2825import java .util .ArrayList ;
26+
2927import org .json .JSONObject ;
3028import 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" )
3335class UrlShortener {
3436 // [START gae_java21_app_identity_google_apis]
Original file line number Diff line number Diff line change 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.
1818
1919import java .io .IOException ;
2020import java .io .PrintWriter ;
21+
2122import javax .servlet .annotation .WebServlet ;
2223import javax .servlet .http .HttpServlet ;
2324import javax .servlet .http .HttpServletRequest ;
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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.
1616
1717package 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+
1924import com .google .common .collect .Collections2 ;
2025import com .google .common .collect .Lists ;
2126import com .google .monitoring .v3 .Point ;
2227import com .google .monitoring .v3 .TimeSeries ;
2328import 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
2930public abstract class TimeSeriesSummary <T > {
3031 private String name ;
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!--
3- Copyright 2024 Google LLC
3+ Copyright 2016 Google LLC
44
55Licensed under the Apache License, Version 2.0 (the "License");
66you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments