- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 239 for initializer (0.05 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
/** * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running * a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt
"Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", ) } else { throw IOException( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " +
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.7K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} /* * We use this only when getTypeName is available. * * Well, really, we use this when we think we're running under Java 8, as determined by some * logic in the static initializer, which does not check for getTypeName specifically. We * should really validate that it works as desired for all Android versions that we support. */ @SuppressWarnings("AndroidJdkLibsChecker")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
README.md
Requirements ------------ OkHttp works on Android 5.0+ (API level 21+) and Java 8+. On Android, OkHttp uses [AndroidX Startup][androidx_startup]. If you disable the initializer in the manifest, then apps are responsible for calling `OkHttp.initialize(applicationContext)` in `Application.onCreate`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
} /* * We use this only when getTypeName is available. * * Well, really, we use this when we think we're running under Java 8, as determined by some * logic in the static initializer, which does not check for getTypeName specifically. We * should really validate that it works as desired for all Android versions that we support. */ @IgnoreJRERequirement
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
return new String(buffer); } /** * Initializes the class. */ protected static synchronized void initialize() { if (!initialized) { DisposableUtil.add(() -> { ResourceBundle.clearCache(); initialized = false; }); initialized = true; } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
} } /** * Initializes the {@link Logger}. */ protected static synchronized void initialize() { DisposableUtil.addFirst(() -> { initialized = false; loggers.clear(); factory.releaseAll(); }); initialized = true; } /** * Returns the logger adapter factory.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryTestBase.java
* Base test class for query-related tests that properly initializes FessConfig */ public abstract class QueryTestBase extends UnitFessTestCase { protected QueryProcessor queryProcessor; @Override public void setUp() throws Exception { super.setUp(); // Setup FessConfig with proper initialization setupBaseFessConfig(); // Initialize QueryFieldConfig
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0)