- Sort Score
- Num 10 results
- Language All
Results 1261 - 1270 of 2,895 for throwIf (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
// constructors ----------------------------------------------------------- public AbstractConflictResolverTest(String roleHint) throws Exception { this.roleHint = roleHint; } @BeforeEach public void setUp() throws Exception { conflictResolver = (ConflictResolver) container.lookup(ConflictResolver.ROLE, roleHint); a1 = createArtifact("a", "1.0");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
@Override public int read(CharBuffer cbuf) throws IOException { return reader.read(cbuf); } }; } private static Reader getChunkedReader(String input, int chunk) { return new FilterReader(new StringReader(input)) { @Override public int read(char[] cbuf, int off, int len) throws IOException { return super.read(cbuf, off, min(chunk, len)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
public boolean isGroupAddress(final CIFSContext tc) throws UnknownHostException { checkData(tc); return this.groupName; } @Override public int getNodeType(final CIFSContext tc) throws UnknownHostException { checkData(tc); return this.nodeType; } @Override public boolean isBeingDeleted(final CIFSContext tc) throws UnknownHostException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
@DisplayName("Plugin Upgrades") class PluginUpgradeTests { @Test @DisplayName("should upgrade plugin version when below minimum") void shouldUpgradePluginVersionWhenBelowMinimum() throws Exception { String pomXml = PomBuilder.create() .groupId("test") .artifactId("test") .version("1.0.0")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
*/ class KerberosEncDataTest { /** * Test constructor with a valid token. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if a PAC decoding error occurs * @throws UnknownHostException if the IP address is not found */ @Test void testConstructor() throws IOException, PACDecodingException, UnknownHostException { // Build a sample Kerberos EncData structureCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java
/** * Method write. * * @param writer a writer object. * @param coreExtensions a coreExtensions object. * @throws IOException IOException if any. */ public void write(Writer writer, CoreExtensions coreExtensions) throws IOException { XmlSerializer serializer = new MXSerializer(); serializer.setProperty("http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " ");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
public ModelSource resolveModel(Parent parent) throws UnresolvableModelException { return null; } @Override public ModelSource resolveModel(Dependency dependency) throws UnresolvableModelException { return null; } @Override public void addRepository(Repository repository) throws InvalidRepositoryException {} @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
@Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); } public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testWithDifferentDelegates() throws Exception { // Given BaseConfiguration baseConfig = new BaseConfiguration(false); DelegatingConfiguration configWithBaseDelegate = new DelegatingConfiguration(baseConfig); // When & Then - should not throw exceptions assertDoesNotThrow(() -> { configWithBaseDelegate.getResponseTimeout();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0)