- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for anymatch (0.06 sec)
-
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
public boolean hasRole(final String role) { return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role))); } public boolean hasRoles(final String[] acceptedRoles) { return stream(user.getRoleNames()) .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1))))); } public boolean hasGroup(final String group) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} public boolean isValidWebProtocol(final String url) { return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s))); } public boolean isValidFileProtocol(final String url) { return stream(fileProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s))); } public void addWebProtocol(final String protocol) { final String prefix = protocol + ":";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 01 02:20:48 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetQueryView.java
@PostConstruct public void init() { final String filetypeField = ComponentUtil.getFessConfig().getIndexFieldFiletype(); final Collection<String> values = queryMap.values(); if (values.stream().anyMatch(s -> s.startsWith(filetypeField))) { final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH); final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
final String value = classAttr.getNodeValue(); if (StringUtil.isNotBlank(value)) { return StreamUtil.split(value, " ").get(stream -> stream.anyMatch(s -> css.equals(s))); } } } else { final Node idAttr = node.getAttributes().getNamedItem("id"); if (idAttr != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
@Execute public StreamResponse get$file(final String id) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) { if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
} return request; } private boolean consumerPomPresent(Collection<Artifact> artifacts) { return artifacts.stream() .anyMatch(a -> "pom".equals(a.getExtension()) && CONSUMER_POM_CLASSIFIER.equals(a.getClassifier())); } private Collection<Artifact> replacePom(Collection<Artifact> artifacts) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
String isGetterName = "is" + Character.toUpperCase(propertyName.charAt(0)) + propertyName.substring(1); return method.getReplacedAccessors().stream() .anyMatch(replacedAccessor -> replacedAccessor.getName().equals(isGetterName) && replacedAccessor.getDescriptor().equals("()Z")); } return false; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 02 14:20:08 UTC 2024 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
return user; } protected boolean isTargetUser(final String username) { if (targetUsers == null) { return true; } return stream(targetUsers).get(stream -> stream.anyMatch(s -> s.equals(username))); } protected int executeCommand(final String[] commands, final String username, final String password) { if (commands == null || commands.length == 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/KeyMatch.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.es.config.exentity; import org.codelibs.fess.es.config.bsentity.BsKeyMatch; /** * @author FreeGen */ public class KeyMatch extends BsKeyMatch { private static final long serialVersionUID = 1L; public String getId() { return asDocMeta().id(); } public void setId(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0)