- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 3,637 for throwIf (0.34 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
class MvnDirectoryCreationTests { @Test @DisplayName("should create .mvn directory when model version is not 4.1.0") void shouldCreateMvnDirectoryWhenModelVersionNot410() throws Exception { Path projectDir = tempDir.resolve("project"); Files.createDirectories(projectDir); // Create a simple POM file String pomXml = PomBuilder.create()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
putIndex = 0; takeIndex = 0; } finally { monitor.leave(); } } /** * @throws UnsupportedOperationException {@inheritDoc} * @throws ClassCastException {@inheritDoc} * @throws NullPointerException {@inheritDoc} * @throws IllegalArgumentException {@inheritDoc} */ @CanIgnoreReturnValue @Override public int drainTo(Collection<? super E> c) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
int i = 0, n; while (i < len) { n = in.read(b, off + i, len - i); if (n <= 0) { break; } i += n; } return i; } static int readPacketType(final InputStream in, final byte[] buffer, final int bufferIndex) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
/** * Test method for * {@link org.codelibs.core.io.PropertiesUtil#store(Properties, java.io.OutputStream, String)} * . * * @throws IOException */ @Test public void testStorePropertiesOutputStreamString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 9.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final ImmutableSet<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
return method.equals(getAllStatesMethod) ? getAllStates() : invokeListMethod(method, args); } private Set<List<Integer>> getAllStates() { return allStates; } private Object invokeListMethod(Method method, Object[] args) throws Throwable { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* @param repositories the list of repositories to validate, may be {@code null} * @return the same list if validation passes, or {@code null} if input was {@code null} * @throws IllegalArgumentException if the list contains duplicate repositories * @throws IllegalArgumentException if the list contains null repository entries */ default List<RemoteRepository> validate(List<RemoteRepository> repositories) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
public Set<MavenProject> getActiveProjects( MavenExecutionRequest request, List<MavenProject> projects, List<ProjectActivation.ProjectActivationSettings> projectSelectors) throws MavenExecutionException { Set<MavenProject> resolvedOptionalProjects = new LinkedHashSet<>(); Set<ProjectActivation.ProjectActivationSettings> unresolvedSelectors = new HashSet<>();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
public int getOpnum() { return 0x1234; } @Override public void encode_in(NdrBuffer buf) throws NdrException { buf.enc_ndr_small(0xAB); } @Override public void decode_out(NdrBuffer buf) throws NdrException { decodedValue = buf.dec_ndr_small(); } } /* --- flag handling -------------------------------- */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeInt(size()); for (Entry<K, V> entry : entries()) { stream.writeObject(entry.getKey()); stream.writeObject(entry.getValue()); } } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0)