File tree Expand file tree Collapse file tree
docker-java-bridge-k8s/src
main/java/com/github/dockerjava/k8s/command
test/java/com/github/dockerjava/k8s/command Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import io .kubernetes .client .openapi .ApiException ;
88import io .kubernetes .client .openapi .models .VersionInfo ;
99import io .kubernetes .client .util .version .Version ;
10- import org .apache .commons .beanutils .BeanUtils ;
11- import org .apache .commons .beanutils .PropertyUtils ;
12- import org .apache .commons .lang .reflect .FieldUtils ;
1310import org .apache .commons .lang3 .builder .ToStringBuilder ;
1411import org .apache .commons .lang3 .builder .ToStringStyle ;
1512import org .slf4j .Logger ;
1613import org .slf4j .LoggerFactory ;
1714
1815import java .io .IOException ;
19- import java .lang .reflect .InvocationTargetException ;
2016
21- import static org .apache .commons .beanutils .BeanUtils .setProperty ;
22- import static org .apache .commons .lang .reflect .FieldUtils .*;
17+ import static org .apache .commons .lang .reflect .FieldUtils .writeField ;
2318
2419public class VersionCmdImpl implements VersionCmd {
2520
Original file line number Diff line number Diff line change 44import io .kubernetes .client .openapi .ApiClient ;
55import io .kubernetes .client .util .ClientBuilder ;
66import io .kubernetes .client .util .KubeConfig ;
7- import java .io .File ;
87import java .io .FileReader ;
98import java .io .IOException ;
109import java .nio .file .Paths ;
1110import org .junit .jupiter .api .Test ;
1211import org .junit .jupiter .api .extension .ExtendWith ;
1312import org .mockito .junit .jupiter .MockitoExtension ;
1413
15- import java .io .FileReader ;
16- import java .io .IOException ;
17- import java .nio .file .Paths ;
18-
1914import static org .junit .jupiter .api .Assertions .assertFalse ;
2015import static org .junit .jupiter .api .Assertions .assertNotNull ;
2116
You can’t perform that action at this time.
0 commit comments