private static String [ ] getDsFilterNameAndVersionEntries ( final String filterString ) { final int semicolonIndex = filterString . indexOf ( ' ' ) ; final String dsFilterName = semicolonIndex != - 1 ? filterString . substring ( 0 , semicolonIndex ) : ( filterString + "%" ) ; final String dsFilterVersion = semicolonIndex != - 1 ? ( filterString . substring ( semicolonIndex + 1 ) + "%" ) : "%" ; return new String [ ] { ! StringUtils . isEmpty ( dsFilterName ) ? dsFilterName : "%" , dsFilterVersion } ; }
field when the semicolon is present