- Sort Score
- Num 10 results
- Language All
Results 1391 - 1400 of 3,637 for throwIf (0.05 seconds)
-
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
} /** * @throws Exception */ @Test public void testPrefix() throws Exception { final CopyOptions option = new CopyOptions(); assertThat(option.prefix(BeanNames.search_()), is(sameInstance(option))); assertThat(option.prefix, is("search_")); } /** * @throws Exception */ @Test public void testBeanDelimiter() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 12K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
* @throws SmbException if an SMB-specific error occurs * @throws CIFSException if a general CIFS error occurs */ void ensureDFSResolved() throws CIFSException; /** * Checks if the server has the specified capability * @param cap the capability flag to check * @return whether the capability is present * @throws CIFSException if an error occurs checking capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java
Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException; /** * @return a <code>Settings</code> object from the user settings file. * @throws IOException if any * @throws XmlPullParserException if any */ Settings buildSettings() throws IOException, XmlPullParserException; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/NameServiceClient.java
* host with the same IP address. * * @param addr * the address to query * @return resolved addresses * @throws UnknownHostException * if address cannot be resolved */ NetbiosAddress[] getNbtAllByAddress(NetbiosAddress addr) throws UnknownHostException; /** * Retrieve all addresses of a host by it's address. NetBIOS hosts canCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
/** * @throws Exception */ public void testGetActualKeyClassOfMap() throws Exception { final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class); final Method method = Hoge.class.getMethod("map"); assertThat(GenericsUtil.getActualKeyClassOfMap(method.getGenericReturnType(), map), is(sameClass(String.class))); } /** * @throws Exception */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS)); } public void testSetValue() throws Exception { assertTrue(future.set("value"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
if (expectedLines.isEmpty()) { assertThat(source.readFirstLine()).isNull(); } else { assertThat(source.readFirstLine()).isEqualTo(expectedLines.get(0)); } } public void testReadLines_toList() throws IOException { assertExpectedLines(source.readLines()); } public void testIsEmpty() throws IOException { assertEquals(expected.isEmpty(), source.isEmpty());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(SocketException::class) override fun getSendBufferSize(): Int = delegate!!.sendBufferSize @Throws(SocketException::class) override fun getSoTimeout(): Int = delegate!!.soTimeout @Throws(SocketException::class) override fun getTcpNoDelay(): Boolean = delegate!!.tcpNoDelay @Throws(SocketException::class) override fun setKeepAlive(keepAlive: Boolean) { delegate!!.keepAlive = keepAlive }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
public class NumberConversionUtilTest extends TestCase { /** * @throws Exception */ public void testConvertNumber_byte() throws Exception { assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1")); } /** * @throws Exception */ public void testConvertNumber_primitiveWrapper() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 3.2K bytes - Click Count (0)