- Sort Score
- Result 10 results
- Languages All
Results 1801 - 1810 of 2,652 for throwIf (0.15 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class MavenModelVersionTest { private static Model model; @BeforeAll static void setup() throws Exception { try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) { model = new MavenStaxReader().read(is); } } @Test void testV4Model() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class UserAgentHelperTest extends UnitFessTestCase { public UserAgentHelper userAgentHelper; @Override public void setUp() throws Exception { super.setUp(); userAgentHelper = new UserAgentHelper(); } public void test_getUserAgentType_IE9() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
@Param({"2", "3", "4", "5", "10"}) int lockNestingDepth; CycleDetectingLockFactory factory; private Lock[] plainLocks; private Lock[] detectingLocks; @BeforeExperiment void setUp() throws Exception { this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN); this.plainLocks = new Lock[lockNestingDepth]; for (int i = 0; i < lockNestingDepth; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
fun run() { val request = Request.Builder() .url("https://publicobject.com/robots.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for (certificate in response.handshake!!.peerCertificates) { println(CertificatePinner.pin(certificate)) } } } } fun main() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java
throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) { String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values; throw new InvalidQueryRegisteredException(msg); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
if (values.length > 2) { throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY, text), "Invalid sort field: " + termQuery); } final String sortField = values[0]; if (!getQueryFieldConfig().isSortField(sortField)) { throw new InvalidQueryException(
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
builder.add(updateRequest); } return builder.execute(); }); if (bulkResponse.hasFailures()) { throw new OpenSearchAccessException(bulkResponse.buildFailureMessage()); } final String sid = scrollId;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} catch (final IOException e) { throw new IORuntimeException(e); } } public static void writeBytes(final String pathname, final byte[] bytes) { try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) { ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes)); } catch (final IOException e) { throw new IORuntimeException(e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
} // ToStringHelper's tests are in ToStringHelperTest @J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0)