Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Commit e58ca2a

Browse files
committed
Add copyright headers
Change-Id: Iaeab9c0a3e73ed57bff7e6e846602dfd3d6fc7b4
1 parent e54d3f7 commit e58ca2a

File tree

2 files changed

+32
-1
lines changed
  • admin/src/main/java/com/google/firebase/example
  • database/src/main/java/com/google/firebase/example

2 files changed

+32
-1
lines changed

admin/src/main/java/com/google/firebase/example/Main.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2017 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package com.google.firebase.example;
218

319
import com.google.firebase.auth.FirebaseCredential;

database/src/main/java/com/google/firebase/example/Main.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2017 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package com.google.firebase.example;
218

319
import com.google.firebase.database.*;
@@ -68,7 +84,6 @@ public Dinosaur(int height, int weight) {
6884
}
6985
// [END dinosaur_class]
7086

71-
// For: https://firebase-dot-devsite.googleplex.com/docs/database/server/save-data
7287
public void savingData() {
7388
// [START get_database_and_reference]
7489
final FirebaseDatabase database = FirebaseDatabase.getInstance();

0 commit comments

Comments
 (0)