Sign in

潘钊 / bsth_control · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • bsth_control
  • ..
  • utils
  • CustomStringUtils.java
  • Merge branch 'minhang' of ...
      f23070e0
    http://222.66.0.204:8090/panzhaov5/bsth_control into minhang
    廖磊 authored
    2017-07-11 09:11:41 +0800  
    Browse Code »
CustomStringUtils.java 420 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package com.bsth.data.utils;

import org.apache.commons.lang3.StringUtils;

/**
 * Created by panzhao on 2017/7/10.
 */
public class CustomStringUtils {

    public static boolean equals(String s1, String s2){
        if(s1 == null){
            if(StringUtils.isNotEmpty(s2))
                return false;
            else
                return true;
        }
        return s1.equals(s2);
    }
}