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() {
4848
4949 problems = "" ;
5050
51- if (TEST_LOGIN_USERNAME == null || TEST_LOGIN_USERNAME .trim ().length () == 0 ) {
51+ if (TEST_LOGIN_USERNAME == null || TEST_LOGIN_USERNAME .trim ().isEmpty () ) {
5252 problems += "TEST_LOGIN_USERNAME cannot be empty\n " ;
5353 }
5454
55- if (TEST_LOGIN_PASSWORD == null || TEST_LOGIN_PASSWORD .trim ().length () == 0 ) {
55+ if (TEST_LOGIN_PASSWORD == null || TEST_LOGIN_PASSWORD .trim ().isEmpty () ) {
5656 problems += "TEST_LOGIN_PASSWORD cannot be empty\n " ;
5757 }
5858
59- if (TEST_HOST_URL == null || TEST_HOST_URL .trim ().length () == 0 ) {
59+ if (TEST_HOST_URL == null || TEST_HOST_URL .trim ().isEmpty () ) {
6060 problems += "TEST_HOST_URL cannot be empty\n " ;
6161 }
6262
63- if (TEST_PRIVATE_TOKEN == null || TEST_PRIVATE_TOKEN .trim ().length () == 0 ) {
63+ if (TEST_PRIVATE_TOKEN == null || TEST_PRIVATE_TOKEN .trim ().isEmpty () ) {
6464 problems += "TEST_PRIVATE_TOKEN cannot be empty\n " ;
6565 }
6666
You can’t perform that action at this time.
0 commit comments