- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 55 for assertArgumentNotNull (1.5 seconds)
-
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
*/ public static final ResourceBundle getBundle(final String name, final Locale locale, final ClassLoader classLoader) { assertArgumentNotNull("name", name); assertArgumentNotNull("classLoader", classLoader); try { return ResourceBundle.getBundle(name, getLocale(locale), classLoader); } catch (final MissingResourceException ignore) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
assertArgumentNotNull("iterators", iterators); return () -> new MultiIterator<>(iterators); } /** * Constructs an instance. * * @param iterators the array of {@link Iterator}s (must not be {@literal null}) */ public MultiIterator(final Iterator<E>... iterators) { assertArgumentNotNull("iterators", iterators);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
*/ package org.codelibs.core.sql; import static org.codelibs.core.log.Logger.format; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.codelibs.core.exception.SQLRuntimeException; import org.codelibs.core.log.Logger; /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.sql; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import org.codelibs.core.exception.SQLRuntimeException; /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SchemaUtil.java
* @return {@link Schema} */ public static Schema newSchema(final SchemaFactory factory, final File schema) { assertArgumentNotNull("factory", factory); assertArgumentNotNull("schema", schema); try { return factory.newSchema(schema); } catch (final SAXException e) { throw new SAXRuntimeException(e); } } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
* @param in the input stream (must not be {@literal null}) */ public static void load(final Properties props, final InputStream in) { assertArgumentNotNull("props", props); assertArgumentNotNull("in", in); try { props.load(in); } catch (final IOException e) { throw new IORuntimeException(e); } } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
*/ public static void parse(final SAXParser parser, final InputSource inputSource, final DefaultHandler handler) { assertArgumentNotNull("parser", parser); assertArgumentNotNull("inputSource", inputSource); assertArgumentNotNull("handler", handler); try { parser.parse(inputSource, handler); } catch (final SAXException e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/AssertionUtilTest.java
/** * Test method for * {@link org.codelibs.core.misc.AssertionUtil#assertArgumentNotNull(java.lang.String, java.lang.Object)} * . */ @Test public void testAssertArgumentNotNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[hoge] is null.")); assertArgumentNotNull("hoge", null); } /** * Test method forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java
* @param field * The field. Must not be {@literal null}. */ public FieldDescImpl(final BeanDesc beanDesc, final Field field) { assertArgumentNotNull("beanDesc", beanDesc); assertArgumentNotNull("field", field); this.beanDesc = beanDesc; this.field = field; fieldName = field.getName(); fieldType = field.getType();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
*/ public static ParameterizedClassDesc createParameterizedClassDesc(final Field field, final Map<TypeVariable<?>, Type> map) { assertArgumentNotNull("field", field); assertArgumentNotNull("map", map); return createParameterizedClassDesc(field.getGenericType(), map); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.7K bytes - Click Count (0)