1919import io .kubernetes .client .common .KubernetesObject ;
2020import io .kubernetes .client .openapi .ApiException ;
2121import java .io .File ;
22- import java . io . FileInputStream ;
22+
2323import java .io .IOException ;
2424import java .net .URI ;
2525import java .net .URL ;
3535import java .util .concurrent .ConcurrentHashMap ;
3636import java .util .jar .JarEntry ;
3737import java .util .jar .JarFile ;
38- import java .util .jar .JarInputStream ;
3938
4039import org .apache .commons .lang3 .tuple .MutablePair ;
4140import org .apache .commons .lang3 .tuple .Pair ;
@@ -88,6 +87,10 @@ public class ModelMapper {
8887 *
8988 * <p>Note that the the so-called apiGroupVersion equals to the "apiVersion" in the kubenretes
9089 * resource yamls.
90+ *
91+ * @deprecated This method is deprecated. Please use the alternative method with the correct
92+ * parameters. For example, use {@link #addModelMap(String, String, String, Class)}
93+ * instead.
9194 */
9295 @ Deprecated
9396 public static void addModelMap (String apiGroupVersion , String kind , Class <?> clazz ) {
@@ -107,6 +110,8 @@ public static void addModelMap(String apiGroupVersion, String kind, Class<?> cla
107110 * @param version the version
108111 * @param kind the kind
109112 * @param clazz the clazz
113+ * @deprecated This method is deprecated and will be removed in a future version.
114+ * Use the non-deprecated method(s) instead.
110115 */
111116 @ Deprecated
112117 public static void addModelMap (String group , String version , String kind , Class <?> clazz ) {
0 commit comments