- Sort Score
- Num 10 results
- Language All
Results 1241 - 1250 of 3,282 for throwIt (0.05 seconds)
-
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: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
@Nonnull default T read(@Nonnull Path path) throws XmlReaderException { return read(path, true); } @Nonnull default T read(@Nonnull Path path, boolean strict) throws XmlReaderException { return read(XmlReaderRequest.builder().path(path).strict(strict).build()); } @Nonnull default T read(@Nonnull InputStream input) throws XmlReaderException { return read(input, true); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
* * @throws SmbException if the SID string is invalid */ @Test void testToDisplayStringUnresolved() throws SmbException { SID sid = new SID(adminSidString); assertEquals(adminSidString, sid.toDisplayString()); } /** * Test getting the domain SID. * * @throws SmbException if the SID string is invalid */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
/** */ class DefaultSettingsValidatorTest { private DefaultSettingsValidator validator; @BeforeEach void setUp() throws Exception { validator = new DefaultSettingsValidator(); } @AfterEach void tearDown() throws Exception { validator = null; } private void assertContains(String msg, String substring) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
} @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void closeAll(BaseStream<?, ?>[] toClose) { // If one of the streams throws an exception, continue closing the others, then throw the // exception later. If more than one stream throws an exception, the later ones are added to the // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 36.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java
} public void test_getDecodeText() throws Exception { assertEquals("", emlExtractor.getDecodeText(null)); assertEquals("", emlExtractor.getDecodeText("")); assertEquals("abc123", emlExtractor.getDecodeText("abc123")); assertEquals("ใในใ", emlExtractor.getDecodeText("=?UTF-8?B?44OG44K544OI?=")); } public void test_getTextWithAttachment() throws IOException {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 4.6K bytes - Click Count (1) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
assertThat(toSqlDateJdbcEscape(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToSqlDate_EmptyString() throws Exception { assertThat(toSqlDateJdbcEscape(""), is(nullValue())); } /** * @throws Exception */ @Test public void testToSqlDate_ShortStyle() throws Exception {
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/SmbRandomAccess.java
/** * Close the file * * @throws SmbException if an I/O error occurs during close */ @Override void close() throws SmbException; /** * Read a single byte from the current position * * @return read byte, -1 if EOF * @throws SmbException if an I/O error occurs during read */ int read() throws SmbException; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
public class PacDataInputStreamTest { // Helper to create PacDataInputStream from a byte array private PacDataInputStream createInputStream(byte[] data) throws IOException { return new PacDataInputStream(new ByteArrayInputStream(data)); } @Test public void testAlign() throws IOException { // Test alignment from position 1 to 4 byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbResource.java
* <code>false</code> otherwise * @throws CIFSException if an error occurs accessing the resource */ boolean exists() throws CIFSException; /** * Fetch a child resource * * @param name the name of the child resource to resolve * @return the child resource * @throws CIFSException if an error occurs accessing the resource */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 28K bytes - Click Count (1)