Clover icon

sunshower-base

  1. Project Clover database Fri Apr 6 2018 03:41:27 UTC
  2. Package io.sunshower.lang.common

File Strings.java

 

Coverage histogram

../../../../img/srcFileCovDistChart6.png
35% of files have more coverage

Code metrics

2
3
2
1
14
11
3
1
1.5
2
1.5

Classes

Class Line # Actions
Strings 5 3 3
0.571428657.1%
 

Contributing tests

This file is covered by 7 tests. .

Source view

1    package io.sunshower.lang.common;
2   
3    import javax.annotation.Nullable;
4   
 
5    public class Strings {
 
6  0 toggle private Strings() {}
7   
 
8  7 toggle public static boolean isBlank(@Nullable String value) {
9  7 if (value == null) {
10  0 return true;
11    }
12  7 return value.trim().isEmpty();
13    }
14    }