Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1551 - 1560 of 2,162 for classic (0.08 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/TestArtifactResolver.java

    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.resolver.DefaultArtifactResolver;
    
    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestArtifactResolver extends DefaultArtifactResolver {
        private ArtifactMetadataSource source;
    
        @Inject
        public TestArtifactResolver(final @Named("classpath") ArtifactMetadataSource source) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonMock.java

     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.wagon.providers.file.FileWagon;
    
    /**
     * Mock of a Wagon for testing
     *
     */
    public class WagonMock extends FileWagon {
    
        /**
         * A field that can be configured in the Wagon
         *
         * @component.configuration default="configurableField"
         */
        private String configurableField = null;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java

    package org.apache.maven.api.services;
    
    /**
     * Exception thrown when toolchain factory operations fail.
     *
     * <p>This exception wraps errors that occur during toolchain creation or initialization.</p>
     */
    public class ToolchainFactoryException extends MavenException {
    
        public ToolchainFactoryException(String message) {
            super(message);
        }
    
        public ToolchainFactoryException(String message, Throwable cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. tests/test_security_api_key_header_optional.py

    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Click Count (0)
  5. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.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.
     */
    
    class VersionedSettingsBranchTest {
        @ParameterizedTest
        @CsvSource(
            value = [
                "master,    0",
                "release,   1",
                "release6x, 2",
                "release7x, 3",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
            else -> error("Unsupported japicmp member type '${this::class}'")
        }
    
    
    internal
    val JApiClass.isKotlin: Boolean
        get() = newClass.orElse(null)?.isKotlin ?: false
    
    
    internal
    val JApiClass.simpleName: String
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #isSuggestIndex(String)}: Checks if the given index name is a suggestion index.</li>
     * </ul>
     */
    public class Suggester {
        private static final Logger logger = LogManager.getLogger(Suggester.class);
    
        /** The expected number of indices for an alias. */
        private static final int EXPECTED_INDEX_COUNT = 1;
    
        /** The OpenSearch client. */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 21.6K bytes
    - Click Count (3)
  8. src/main/java/org/codelibs/core/beans/Converter.java

         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class SRuntimeExceptionTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSeasarRuntimeException() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

     */
    package org.codelibs.core.jar;
    
    import java.io.File;
    import java.net.URL;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     */
    public class JarFileUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top