ACS-6188 Remove usage of deprecated constructors (#2295)

* Apply org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf recipe

* ACS-6188 Update copyright headers

* ACS-6188 Update copyright header

* ACS-6188 Clean-up

---------

Co-authored-by: dsibilio <24280982+dsibilio@users.noreply.github.com>
Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
This commit is contained in:
Alfresco Build
2023-11-08 13:05:00 +01:00
committed by GitHub
parent a386dacce1
commit 19840563e4
92 changed files with 274 additions and 275 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2005-2011 Alfresco Software Limited.
* Copyright (C) 2005-2023 Alfresco Software Limited.
*
* This file is part of Alfresco
*
@@ -55,11 +55,11 @@ public class CannedQueryTest extends TestCase
RESULTS_TWO = new ArrayList<Long>(10);
for (int i = 0; i < 10; i++)
{
RESULTS_TWO.add(new Long(i));
RESULTS_TWO.add(Long.valueOf(i));
}
ANTI_RESULTS = new HashSet<Object>();
ANTI_RESULTS.add("ONE_5");
ANTI_RESULTS.add(new Long(5));
ANTI_RESULTS.add(Long.valueOf(5));
}
@SuppressWarnings("rawtypes")