Skip to content

Commit

Permalink
Update all Copyright year and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dreampiggy committed Apr 28, 2019
1 parent 9243352 commit 40f25cb
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
16 changes: 12 additions & 4 deletions Storage/FirebaseStorageUI/FIRStorageDownloadTask+SDWebImage.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
//
// FIRStorageDownloadTask+SDWebImage.m
// FirebaseStorageUI
// Copyright (c) 2019 Google Inc.
//
// Created by lizhuoli on 2019/4/28.
// Copyright © 2019 Firebase. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

#import "FIRStorageDownloadTask+SDWebImage.h"
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/FUIStorageDefine.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/FUIStorageDefine.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/FUIStorageImageLoader.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions Storage/FirebaseStorageUI/FUIStorageImageLoader.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -84,8 +84,6 @@ - (BOOL)canRequestImageForURL:(NSURL *)url {
// Observe the progress changes
[download observeStatus:FIRStorageTaskStatusProgress handler:^(FIRStorageTaskSnapshot * _Nonnull snapshot) {
NSProgress *progress = snapshot.progress;
// completedUnitCount == totalBytesWritten;
// totalUnitCount == totalBytesExpectedToWrite;
if (progressBlock) {
progressBlock(progress.completedUnitCount, progress.totalUnitCount, url);
}
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/FirebaseStorageUI.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/NSURL+FirebaseStorage.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/NSURL+FirebaseStorage.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/UIImageView+FirebaseStorage.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUI/UIImageView+FirebaseStorage.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Storage/FirebaseStorageUITests/FUIImageViewCategoryTests.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 40f25cb

Please sign in to comment.