- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 4,407 for Avoid (0.02 seconds)
-
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
// TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to // avoid unintended usage. // The execution list to hold our listeners. private final ExecutionList executionList = new ExecutionList(); /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Doubles.java
* the array * @throws IllegalArgumentException if {@code array} is empty */ @GwtIncompatible( "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.") public static double min(double... array) { checkArgument(array.length > 0); double min = array[0]; for (int i = 1; i < array.length; i++) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 27.6K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC); client.networkInterceptors().add(loggingInterceptor); ``` **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because they could leak passwords and other authentication credentials to insecure logs. * **WebSocket API now uses `RequestBody` and `ResponseBody` for messages.**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
// Reading all the data as a byte array is more efficient than the default read() // implementation because: // 1. the string constructor can avoid an extra copy most of the time by correctly sizing the // internal char array (hard to avoid using StringBuilder) // 2. we avoid extra copies into temporary buffers altogether // The downside is that this will cause us to store the file bytes in memory twice for a short
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
logger: String, tag: String, ) { val logger = Logger.getLogger(logger) if (configuredLoggers.add(logger)) { logger.useParentHandlers = false // log based on levels at startup to avoid logging each frame logger.level = when { Log.isLoggable(tag, Log.DEBUG) -> Level.FINE Log.isLoggable(tag, Log.INFO) -> Level.INFO else -> Level.WARNING }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
} tasks.named("publishGradleDistributionPublicationToLocalRepository") { enabled = false // this should not be used so we disable it to avoid confusion when using 'publish' lifecycle task } val localPublish = project.tasks.named("publishLocalPublicationToLocalRepository") { doFirst {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method isCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullnessCasts.java
* {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method isCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java
* This class provides a collection of constant values for HTTP methods, status codes, * transformer names, boolean values, character encodings, date/time formats, and XML features. * It is designed to avoid the instantiation. */ public final class Constants { /** * The GET method. */ public static final String GET_METHOD = "GET"; /** * The HEAD method. */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Some editors check for unused function parameters, and show them as errors. Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors. It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary. /// /// info In this example we use invented custom headers `X-Key` and `X-Token`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.9K bytes - Click Count (0)