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
8 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 Google LLC
2
+ * Copyright 2015 Google LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
16
16
17
17
package com .example .appengine .appidentity ;
18
18
19
- import com .google .apphosting .api .ApiProxy ;
20
19
import java .io .IOException ;
20
+
21
21
import javax .servlet .annotation .WebServlet ;
22
22
import javax .servlet .http .HttpServlet ;
23
23
import javax .servlet .http .HttpServletRequest ;
24
24
import javax .servlet .http .HttpServletResponse ;
25
25
26
+ import com .google .apphosting .api .ApiProxy ;
27
+
26
28
@ SuppressWarnings ("serial" )
27
29
// With @WebServlet annotation the webapp/WEB-INF/web.xml is no longer required.
28
30
@ WebServlet (
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 Google LLC
2
+ * Copyright 2016 Google LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
16
16
17
17
package com .example .appengine .appidentity ;
18
18
19
- import com .google .appengine .api .appidentity .AppIdentityService ;
20
- import com .google .appengine .api .appidentity .AppIdentityServiceFactory ;
21
- import com .google .common .io .CharStreams ;
22
19
import java .io .InputStream ;
23
20
import java .io .InputStreamReader ;
24
21
import java .io .OutputStreamWriter ;
25
22
import java .net .HttpURLConnection ;
26
23
import java .net .URL ;
27
24
import java .nio .charset .StandardCharsets ;
28
25
import java .util .ArrayList ;
26
+
29
27
import org .json .JSONObject ;
30
28
import org .json .JSONTokener ;
31
29
30
+ import com .google .appengine .api .appidentity .AppIdentityService ;
31
+ import com .google .appengine .api .appidentity .AppIdentityServiceFactory ;
32
+ import com .google .common .io .CharStreams ;
33
+
32
34
@ SuppressWarnings ("serial" )
33
35
class UrlShortener {
34
36
// [START gae_java21_app_identity_google_apis]
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 Google LLC
2
+ * Copyright 2016 Google LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
18
18
19
19
import java .io .IOException ;
20
20
import java .io .PrintWriter ;
21
+
21
22
import javax .servlet .annotation .WebServlet ;
22
23
import javax .servlet .http .HttpServlet ;
23
24
import javax .servlet .http .HttpServletRequest ;
Original file line number Diff line number Diff line change 1
1
<!--
2
- Copyright 2024 Google LLC
2
+ Copyright 2018 Google LLC
3
3
4
4
Licensed under the Apache License, Version 2.0 (the "License");
5
5
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 Google LLC
2
+ * Copyright 2018 Google LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
16
16
17
17
package com .example .appengine .bigquerylogging ;
18
18
19
+ import java .util .Collections ;
20
+ import java .util .Comparator ;
21
+ import java .util .List ;
22
+ import java .util .stream .Collectors ;
23
+
19
24
import com .google .common .collect .Collections2 ;
20
25
import com .google .common .collect .Lists ;
21
26
import com .google .monitoring .v3 .Point ;
22
27
import com .google .monitoring .v3 .TimeSeries ;
23
28
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 ;
28
29
29
30
public abstract class TimeSeriesSummary <T > {
30
31
private String name ;
Original file line number Diff line number Diff line change 1
- // Copyright 2024 Google LLC
1
+ // Copyright 2017 Google LLC
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 Google LLC
2
+ * Copyright 2016 Google LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!--
3
- Copyright 2024 Google LLC
3
+ Copyright 2016 Google LLC
4
4
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments