- Sort Score
- Num 10 results
- Language All
Results 2141 - 2150 of 5,478 for newA (0.02 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
public final Entry<AnEnum, String>[] createArray(int length) { return (Entry<AnEnum, String>[]) new Entry<?, ?>[length]; } @Override public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the elements sorted in natural order. */ @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java
validateInputStream(in); final Charset charset = getCharset(params); final List<String[]> rows = new ArrayList<>(); String[] headers = null; try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, charset))) { String line; Character detectedDelimiter = delimiter; // Read header row if needed
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@Test @DisplayName("signing checks propagate SmbException") void signingChecks_throw() throws Exception { doThrow(new SmbException("opt error")).when(transport).isSigningOptional(); doThrow(new SmbException("enf error")).when(transport).isSigningEnforced(); assertThrows(SmbException.class, () -> transport.isSigningOptional());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java
public String formatProgress(long progressedSize, long size) { StringBuilder sb = new StringBuilder(); formatProgress(sb, progressedSize, size); return sb.toString(); } public void formatProgress(StringBuilder builder, long progressedSize, long size) { if (progressedSize < 0L) { throw new IllegalArgumentException("progressed file size cannot be negative: " + size); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
if (allProjects != null) { Map<String, Map<String, Map<String, MavenProject>>> map = new HashMap<>(); allProjects.forEach(project -> map.computeIfAbsent(project.getGroupId(), k -> new HashMap<>()) .computeIfAbsent(project.getArtifactId(), k -> new HashMap<>()) .put(project.getVersion(), project)); this.allProjects = map;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java
SmbAuthentication smbAuthentication; smbAuthentication = new SmbAuthentication(); assertEquals("smb://", smbAuthentication.getPathPrefix()); smbAuthentication = new SmbAuthentication(); smbAuthentication.setServer("hoge"); assertEquals("smb://hoge/", smbAuthentication.getPathPrefix()); smbAuthentication = new SmbAuthentication(); smbAuthentication.setServer("hoge");Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp-logging-interceptor/README.md
```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 1.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
String targetModelVersion = determineTargetModelVersion(context); Set<Path> processedPoms = new HashSet<>(); Set<Path> modifiedPoms = new HashSet<>(); Set<Path> errorPoms = new HashSet<>(); for (Map.Entry<Path, Document> entry : pomMap.entrySet()) { Path pomPath = entry.getKey(); Document pomDocument = entry.getValue();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
} @Override public String toString() { return ("SmbQueryFileBasicInfo[" + "createTime=" + new Date(createTime) + ",lastAccessTime=" + new Date(lastAccessTime) + ",lastWriteTime=" + new Date(lastWriteTime) + ",changeTime=" + new Date(changeTime) + ",attributes=0x" + Hexdump.toHexString(attributes, 4) + "]"); } }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
@SuppressWarnings("unchecked") Supplier<String> supplier = mock(Supplier.class); when(supplier.get()).thenThrow(new RuntimeException(new SmbUnsupportedOperationException("boom"))); // Act & Assert: the exception is propagated and interaction recorded once RuntimeException thrown = assertThrows(RuntimeException.class, supplier::get);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0)