mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user