File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/java/org/gitlab4j/api Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,19 +48,19 @@ public static void setup() {
48
48
49
49
problems = "" ;
50
50
51
- if (TEST_LOGIN_USERNAME == null || TEST_LOGIN_USERNAME .trim ().length () == 0 ) {
51
+ if (TEST_LOGIN_USERNAME == null || TEST_LOGIN_USERNAME .trim ().isEmpty () ) {
52
52
problems += "TEST_LOGIN_USERNAME cannot be empty\n " ;
53
53
}
54
54
55
- if (TEST_LOGIN_PASSWORD == null || TEST_LOGIN_PASSWORD .trim ().length () == 0 ) {
55
+ if (TEST_LOGIN_PASSWORD == null || TEST_LOGIN_PASSWORD .trim ().isEmpty () ) {
56
56
problems += "TEST_LOGIN_PASSWORD cannot be empty\n " ;
57
57
}
58
58
59
- if (TEST_HOST_URL == null || TEST_HOST_URL .trim ().length () == 0 ) {
59
+ if (TEST_HOST_URL == null || TEST_HOST_URL .trim ().isEmpty () ) {
60
60
problems += "TEST_HOST_URL cannot be empty\n " ;
61
61
}
62
62
63
- if (TEST_PRIVATE_TOKEN == null || TEST_PRIVATE_TOKEN .trim ().length () == 0 ) {
63
+ if (TEST_PRIVATE_TOKEN == null || TEST_PRIVATE_TOKEN .trim ().isEmpty () ) {
64
64
problems += "TEST_PRIVATE_TOKEN cannot be empty\n " ;
65
65
}
66
66
You can’t perform that action at this time.
0 commit comments