Skip to content

Commit 770bd1d

Browse files
iText-CIyulian-gaponenko
authored andcommitted
Add missing copyright headers
Autoported commit. Original commit hash: [608d087fd]
1 parent 0a43f59 commit 770bd1d

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

itext.tests/itext.commons.tests/itext/commons/utils/DateTimeUtilTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ namespace iText.Commons.Utils {
2727
public class DateTimeUtilTest : ExtendedITextTest {
2828
[NUnit.Framework.Test]
2929
public virtual void GetCurrentTest() {
30-
DateTime date = new DateTime();
31-
NUnit.Framework.Assert.AreEqual(date.ToString(), DateTimeUtil.GetCurrentUtcTime().ToString());
30+
DateTime date = DateTime.Now;
31+
NUnit.Framework.Assert.AreEqual(date.ToString(), DateTimeUtil.GetCurrentTime().ToString());
3232
}
3333

3434
[NUnit.Framework.Test]

itext/itext.commons/itext/commons/actions/data/CommonsProductData.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*
2+
This file is part of the iText (R) project.
3+
Copyright (c) 1998-2021 iText Group NV
4+
Authors: iText Software.
5+
6+
This program is offered under a commercial and under the AGPL license.
7+
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
8+
9+
AGPL licensing:
10+
This program is free software: you can redistribute it and/or modify
11+
it under the terms of the GNU Affero General Public License as published by
12+
the Free Software Foundation, either version 3 of the License, or
13+
(at your option) any later version.
14+
15+
This program is distributed in the hope that it will be useful,
16+
but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
GNU Affero General Public License for more details.
19+
20+
You should have received a copy of the GNU Affero General Public License
21+
along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
*/
123
using System;
224

325
namespace iText.Commons.Actions.Data {

0 commit comments

Comments
 (0)