# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You 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. @defaultMessage Use NIO.2 instead java.io.File java.io.FileInputStream java.io.FileOutputStream java.io.PrintStream#(java.lang.String,java.lang.String) java.io.PrintWriter#(java.lang.String,java.lang.String) java.util.Formatter#(java.lang.String,java.lang.String,java.util.Locale) java.io.RandomAccessFile java.nio.file.Path#toFile() java.util.jar.JarFile java.util.zip.ZipFile @defaultMessage Prefer using ArrayUtil as Arrays#copyOfRange fills zeros for bad bounds java.util.Arrays#copyOfRange(byte[],int,int) java.util.Arrays#copyOfRange(char[],int,int) java.util.Arrays#copyOfRange(short[],int,int) java.util.Arrays#copyOfRange(int[],int,int) java.util.Arrays#copyOfRange(long[],int,int) java.util.Arrays#copyOfRange(float[],int,int) java.util.Arrays#copyOfRange(double[],int,int) java.util.Arrays#copyOfRange(boolean[],int,int) java.util.Arrays#copyOfRange(java.lang.Object[],int,int) java.util.Arrays#copyOfRange(java.lang.Object[],int,int,java.lang.Class) @defaultMessage Prefer using ArrayUtil as Arrays#copyOf fills zeros for bad bounds java.util.Arrays#copyOf(byte[],int) java.util.Arrays#copyOf(char[],int) java.util.Arrays#copyOf(short[],int) java.util.Arrays#copyOf(int[],int) java.util.Arrays#copyOf(long[],int) java.util.Arrays#copyOf(float[],int) java.util.Arrays#copyOf(double[],int) java.util.Arrays#copyOf(boolean[],int) java.util.Arrays#copyOf(java.lang.Object[],int) java.util.Arrays#copyOf(java.lang.Object[],int,java.lang.Class)