Tabnine Logo
StringUtil.isNotEmpty
Code IndexAdd Tabnine to your IDE (free)

How to use
isNotEmpty
method
in
jetbrains.buildServer.util.StringUtil

Best Java code snippets using jetbrains.buildServer.util.StringUtil.isNotEmpty (Showing top 5 results out of 315)

origin: PeteGoo/tcSlackBuildNotifier

  public boolean hasSlackUserId(){
    return StringUtil.isNotEmpty(slackUserId);
  }
}
origin: PeteGoo/tcSlackBuildNotifier

private boolean userHasSlackIdConfigured(SUser sUser) {
  String userName = sUser.getPropertyValue(USERID_KEY);
  return StringUtil.isNotEmpty(userName);
}
origin: JetBrains/teamcity-s3-artifact-storage-plugin

public static String getContentType(File file) {
 String contentType = URLConnection.guessContentTypeFromName(file.getName());
 if (StringUtil.isNotEmpty(contentType)) {
  return contentType;
 }
 if (PROBE_CONTENT_TYPE_METHOD != null && FILE_TO_PATH_METHOD != null) {
  try {
   Object result = PROBE_CONTENT_TYPE_METHOD.invoke(null, FILE_TO_PATH_METHOD.invoke(file));
   if (result instanceof String) {
    contentType = (String)result;
   }
  } catch (Exception ignored) {
  }
 }
 return StringUtil.notEmpty(contentType, DEFAULT_CONTENT_TYPE);
}
origin: JetBrains/teamcity-s3-artifact-storage-plugin

final AWSException awsException = new AWSException(t);
final String details = awsException.getDetails();
if (StringUtil.isNotEmpty(details)) {
 final String message = awsException.getMessage() + details;
 LOG.warn(message);
origin: JetBrains/teamcity-s3-artifact-storage-plugin

final String details = awsException.getDetails();
if (StringUtil.isNotEmpty(details)) {
 final String message = awsException.getMessage() + details;
 LOG.warn(message);
jetbrains.buildServer.utilStringUtilisNotEmpty

Popular methods of StringUtil

  • isEmpty
  • isEmptyOrSpaces
  • emptyIfNull
  • join
  • notEmpty
  • nullIfEmpty
  • pluralize

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Reference (javax.naming)
  • JLabel (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now