Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 8221 - 8230 of 8,327 for JAVA (0.04 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSource
    import okio.ForwardingSource
    import okio.buffer
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.io.IOException
    import okhttp3.Authenticator
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    class RecordingOkAuthenticator(
      val credential: String?,
      val scheme: String?,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

      @Test
      fun buildsWhenJdk9() {
        platform.assumeJdk9()
        assertThat(buildIfSupported()).isNotNull()
      }
    
      @Test
      fun buildsWhenJdk8() {
        platform.assumeJdk8()
        try {
          SSLSocket::class.java.getMethod("getApplicationProtocol")
          // also present on JDK8 after build 252.
          assertThat(buildIfSupported()).isNotNull()
        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml

            <property name="severity" value="warning"/>
            <message
                key="package.javadoc.missing"
                value="A description and other related documentation for a package should be written up in the package-info.java" />
        </module>
    
        <!-- Use our fork of this Checkstyle rule, so that we can ignore test classes -->
        <module name="org.elasticsearch.gradle.internal.checkstyle.MissingJavadocTypeCheck">
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 21 18:58:39 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle

     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    import java.nio.file.Files
    
    String buildNumber = System.getenv('BUILD_NUMBER')
    
    if (buildNumber) {
      File uploadFile = file("build/${buildNumber}.tar.bz2")
      project.gradle.buildFinished { result ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt

    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Internal
    import org.gradle.internal.util.PropertiesUtils
    import org.gradle.work.DisableCachingByDefault
    import org.w3c.dom.Element
    import java.util.Properties
    import javax.xml.XMLConstants
    import javax.xml.parsers.DocumentBuilderFactory
    
    @DisableCachingByDefault(because = "Not worth tracking")
    abstract class AbstractVersionsUpdateTask : DefaultTask() {
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.binarycompatibility
    
    import org.jsoup.Jsoup
    import org.jsoup.nodes.Document
    import java.io.File
    
    
    internal
    fun scrapeRichReport(richReportFile: File): RichReport =
    
        Jsoup.parse(richReportFile, "UTF-8").run {
            RichReport(
                scrapeMessagesForSeverity("error"),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

    if (BuildEnvironment.isCiServer && project.name != "gradle-kotlin-dsl-accessors") {
        val testFilesCleanupService = project.gradle.sharedServices.registerIfAbsent("testFilesCleanupBuildService", TestFilesCleanupService::class.java) {
            throw IllegalStateException("Must be already created")
        }
    
        project.tasks.withType<ValidatePlugins>().configureEach {
            testFilesCleanupService.get().addTaskReports(path, validatePluginsReports())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 09:36:42 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        }
    
        override fun getDescription(): String = "Reports incorrect usages of integration test fixtures"
    
        override fun getAstVisitorClass(): Class<*> = IntegrationTestFixtureVisitor::class.java
    }
    
    
    class IntegrationTestFixtureVisitor : AbstractAstVisitor() {
    
        /**
         * Determines if the class is an integration test. It's a bit weak, but we cannot
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.nio.charset.StandardCharsets
    import okio.Buffer
    import org.junit.jupiter.api.Test
    
    class FormBodyTest {
      @Test
      fun urlEncoding() {
        val body =
          FormBody
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top