repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
null | spring-security-main/buildSrc/src/test/java/org/springframework/security/convention/versions/DependencyExcludesTests.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,827 | 43 | 161 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/security/convention/versions/TransitiveDependencyLookupUtilsTest.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 995 | 30.125 | 75 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/gradle/github/user/GitHubUserApiTests.java | /*
* Copyright 2020-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,107 | 37.392523 | 97 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/gradle/github/milestones/SpringReleaseTrainTests.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 9,217 | 36.471545 | 118 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/gradle/github/milestones/GitHubMilestoneApiTests.java | package org.springframework.gradle.github.milestones;
import java.nio.charset.Charset;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZoneId;
import java.util.concurrent.TimeUnit;
import okhttp3.mockwebserver.MockResponse;
import okht... | 69,708 | 55.812551 | 533 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/gradle/github/release/GitHubReleaseApiTests.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 7,429 | 46.628205 | 134 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/gradle/github/release/GitHubActionsApiTests.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,256 | 35.188889 | 119 | java |
null | spring-security-main/buildSrc/src/test/java/org/springframework/gradle/antora/AntoraVersionPluginTests.java | package org.springframework.gradle.antora;
import org.apache.commons.io.IOUtils;
import org.gradle.api.GradleException;
import org.gradle.api.Project;
import org.gradle.api.Task;
import org.gradle.testfixtures.ProjectBuilder;
import org.junit.jupiter.api.Test;
import java.io.File;
import java.io.FileOutputStream;
imp... | 12,024 | 43.372694 | 169 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/javadocapi/multimodule/sample/src/main/java/sample/Sample.java | package sample;
/**
* Testing this
* @author Rob Winch
*
*/
public class Sample {
/**
* This does stuff
*/
public void doSample() {}
}
| 147 | 8.866667 | 26 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/javadocapi/multimodule/api/src/main/java/sample/Api.java | package sample;
/**
* Testing this
* @author Rob Winch
*
*/
public class Api {
/**
* This does stuff
*/
public void doStuff() {}
}
| 143 | 8.6 | 25 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/javadocapi/multimodule/impl/src/main/java/sample/Impl.java | package sample;
/**
* Testing this
* @author Rob Winch
*
*/
public class Impl {
/**
* This does stuff
*/
public void otherThings() {}
}
| 148 | 8.933333 | 29 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-docs/src/main/java/example/StringUtils.java | package example;
public class StringUtils {
// tag::contains[]
public boolean contains(String haystack, String needle) {
return haystack.contains(needle);
}
// end::contains[]
}
| 203 | 19.4 | 61 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-core/src/test/java/core/HasOptionalTest.java | package core;
import org.junit.jupiter.api.Test;
public class HasOptionalTest {
@Test
public void test() {
HasOptional.doStuffWithOptionalDependency();
}
}
| 165 | 11.769231 | 46 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-core/src/test/java/core/CoreClassTest.java | package core;
import org.junit.jupiter.api.Test;
public class CoreClassTest {
@Test
public void test() {
new CoreClass().run();
}
}
| 141 | 9.923077 | 34 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-core/src/main/java/core/CoreClass.java | package core;
/**
*
* @author Rob Winch
*
*/
public class CoreClass {
public void run() {
}
}
| 103 | 6.428571 | 24 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-core/src/main/java/core/HasOptional.java | package core;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HasOptional {
public static void doStuffWithOptionalDependency() {
Logger logger = LoggerFactory.getLogger(HasOptional.class);
logger.debug("This is optional");
}
}
| 260 | 16.4 | 61 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-api/src/test/java/api/ApiTest.java | package api;
import org.junit.jupiter.api.Test;
public class ApiTest {
@Test
public void api() {}
}
| 105 | 9.6 | 34 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/showcase/sgbcs-api/src/main/java/api/Api.java | package api;
/**
*
* @author Rob Winch
*
*/
public class Api {
}
| 71 | 5.545455 | 20 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/testsconfiguration/core/src/test/java/sample/Dependency.java | package sample;
public class Dependency {} | 43 | 13.666667 | 26 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/testsconfiguration/web/src/test/java/sample/DependencyTest.java | package sample;
import org.junit.*;
public class DependencyTest {
@Test
public void findsDependencyOnClasspath() {
new Dependency();
}
} | 143 | 13.4 | 43 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/jacoco/java/src/test/java/sample/TheClassTest.java | package sample;
import static org.junit.Assert.*;
import org.junit.Test;
public class TheClassTest {
TheClass theClass = new TheClass();
@Test
public void doStuffWhenTrueThenTrue() {
assertTrue(theClass.doStuff(true));
}
@Test
public void doStuffWhenTrueThenFalse() {
assertFalse(theClass.doStuff(false));... | 325 | 16.157895 | 41 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/jacoco/java/src/main/java/sample/TheClass.java | package sample;
public class TheClass {
public boolean doStuff(boolean b) {
if(b) {
return true;
} else {
return false;
}
}
} | 140 | 11.818182 | 36 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/integrationtest/withpropdeps/src/integration-test/java/sample/TheTest.java | package sample;
import org.junit.Test;
import jakarta.servlet.http.HttpServletRequest;
public class TheTest {
@Test
public void compilesAndRuns() {
HttpServletRequest request = null;
}
} | 193 | 16.636364 | 47 | java |
null | spring-security-main/buildSrc/src/test/resources/samples/integrationtest/withjava/src/integration-test/java/sample/TheTest.java | package sample;
import org.junit.Test;
import org.springframework.core.Ordered;
public class TheTest {
@Test
public void compilesAndRuns() {
Ordered ordered = new Ordered() {
@Override
public int getOrder() {
return 0;
}
};
}
} | 249 | 14.625 | 40 | java |
null | spring-security-main/buildSrc/src/main/groovy/io/spring/gradle/convention/ManagementConfigurationPlugin.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,314 | 43.797297 | 117 | java |
null | spring-security-main/buildSrc/src/main/java/trang/RncToXsd.java | package trang;
import com.thaiopensource.relaxng.translate.Driver;
import net.sf.saxon.TransformerFactoryImpl;
import org.gradle.api.DefaultTask;
import org.gradle.api.tasks.InputDirectory;
import org.gradle.api.tasks.InputFile;
import org.gradle.api.tasks.OutputDirectory;
import org.gradle.api.tasks.TaskAction;
impo... | 2,229 | 25.547619 | 101 | java |
null | spring-security-main/buildSrc/src/main/java/trang/TrangPlugin.java | package trang;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
/**
* Used for converting .rnc files to .xsd files.
* @author Rob Winch
*/
public class TrangPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
project.getTasks().register("rncToXsd", RncToXsd.class, (rn... | 428 | 21.578947 | 73 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/FileUtils.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,439 | 27.8 | 79 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/UpdateProjectVersionPlugin.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,906 | 41.377778 | 135 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/CommandLineUtils.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,563 | 30.28 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/UpdateDependenciesPlugin.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 12,181 | 48.722449 | 239 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/UpdateDependenciesExtension.java | package org.springframework.security.convention.versions;
import com.github.benmanes.gradle.versions.updates.resolutionstrategy.ComponentSelectionRulesWithCurrent;
import com.github.benmanes.gradle.versions.updates.resolutionstrategy.ComponentSelectionWithCurrent;
import com.github.benmanes.gradle.versions.updates.res... | 5,557 | 26.929648 | 105 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/TransitiveDependencyLookupUtils.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,594 | 35.549296 | 157 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/UpdateToSnapshotVersionTask.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,635 | 37.202899 | 123 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/UpdateProjectVersionTask.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,423 | 36.875 | 111 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/security/convention/versions/GitHubApi.java | package org.springframework.security.convention.versions;
import com.apollographql.apollo.ApolloCall;
import com.apollographql.apollo.ApolloClient;
import com.apollographql.apollo.api.Input;
import com.apollographql.apollo.api.Response;
import com.apollographql.apollo.exception.ApolloException;
import okhttp3.Intercep... | 6,491 | 35.066667 | 169 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/CopyPropertiesPlugin.java | package org.springframework.gradle;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
public class CopyPropertiesPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
copyPropertyFromRootProjectTo("group", project);
copyPropertyFromRootProjectTo("version", project);
cop... | 653 | 27.434783 | 83 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/sagan/Release.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,859 | 22.064516 | 107 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/sagan/SaganCreateReleaseTask.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,183 | 27.945455 | 107 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/sagan/SaganDeleteReleaseTask.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,815 | 25.318841 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/sagan/SaganApi.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,025 | 31.191489 | 101 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/sagan/SaganPlugin.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,058 | 41.895833 | 120 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/RepositoryRef.java | package org.springframework.gradle.github;
import java.io.Serializable;
public class RepositoryRef implements Serializable {
private static final long serialVersionUID = 7151218536746822797L;
private String owner;
private String name;
public RepositoryRef() {
}
public RepositoryRef(String owner, String nam... | 1,290 | 17.183099 | 67 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/changelog/GitHubChangelogPlugin.java | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,882 | 38.622449 | 156 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/user/GitHubUserApi.java | /*
* Copyright 2020-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,421 | 28.180723 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/user/User.java | package org.springframework.gradle.github.user;
/**
* @author Steve Riesenberg
*/
public class User {
private Long id;
private String login;
private String name;
private String url;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getLogin() {
retur... | 799 | 14.09434 | 47 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/LocalDateTimeAdapter.java | package org.springframework.gradle.github.milestones;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* @aut... | 803 | 29.923077 | 105 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestonePlugin.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,344 | 57.716216 | 207 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestoneNextVersionDueTodayTask.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,389 | 31.912621 | 109 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/SpringReleaseTrain.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,863 | 34.50365 | 108 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/LocalDateAdapter.java | package org.springframework.gradle.github.milestones;
import java.io.IOException;
import java.time.LocalDate;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
/**
* @author Steve Riesenberg
*/
class LocalDateAdapter extends TypeAdapter<LocalDat... | 600 | 24.041667 | 83 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/Milestone.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,480 | 20.779412 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/SpringReleaseTrainSpec.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 5,023 | 23.38835 | 118 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestoneHasNoOpenIssuesTask.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,876 | 33.927928 | 170 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/NextVersionYml.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 859 | 27.666667 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/ScheduleNextReleaseTask.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,468 | 29.195946 | 106 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestoneNextReleaseTask.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,986 | 30.776596 | 99 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestoneApi.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 11,405 | 40.933824 | 227 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/GitHubActionsApi.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,245 | 31.787879 | 146 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/WorkflowDispatch.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,216 | 22.403846 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/DispatchGitHubWorkflowTask.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,164 | 24.470588 | 88 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/Release.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,442 | 20.929936 | 136 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/GitHubReleaseApi.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,913 | 30.673913 | 113 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/CreateGitHubReleaseTask.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,376 | 24.778626 | 118 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/github/release/GitHubReleasePlugin.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,356 | 41.854545 | 119 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/classpath/CheckClasspathForProhibitedDependenciesPlugin.java | /*
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,992 | 44.348485 | 185 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/classpath/CheckProhibitedDependenciesLifecyclePlugin.java | /*
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,592 | 38.825 | 172 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/classpath/CheckClasspathForProhibitedDependencies.java | /*
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,037 | 29.38 | 130 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/SpringNexusPublishPlugin.java | package org.springframework.gradle.maven;
import io.github.gradlenexus.publishplugin.NexusPublishExtension;
import io.github.gradlenexus.publishplugin.NexusPublishPlugin;
import io.github.gradlenexus.publishplugin.NexusRepository;
import org.gradle.api.Action;
import org.gradle.api.Plugin;
import org.gradle.api.Projec... | 1,186 | 39.931034 | 129 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/PublishAllJavaComponentsPlugin.java | package org.springframework.gradle.maven;
import org.gradle.api.Action;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.plugins.JavaPlatformPlugin;
import org.gradle.api.plugins.JavaPlugin;
import org.gradle.api.publish.PublishingExtension;
import org.gradle.api.publish.VariantVersi... | 1,301 | 37.294118 | 108 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/SpringMavenPlugin.java | package org.springframework.gradle.maven;
import io.spring.gradle.convention.ArtifactoryPlugin;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.plugins.PluginManager;
import org.gradle.api.publish.maven.plugins.MavenPublishPlugin;
public class SpringMavenPlugin implements Plugin<Pro... | 815 | 36.090909 | 63 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/MavenPublishingConventionsPlugin.java | package org.springframework.gradle.maven;
import org.gradle.api.Action;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.plugins.JavaPlugin;
import org.gradle.api.plugins.JavaPluginExtension;
import org.gradle.api.publish.PublishingExtension;
import org.gradle.api.publish.maven.MavenP... | 3,463 | 40.73494 | 121 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/PublishLocalPlugin.java | package org.springframework.gradle.maven;
import org.gradle.api.Action;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.artifacts.repositories.MavenArtifactRepository;
import org.gradle.api.publish.PublishingExtension;
import org.gradle.api.publish.maven.plugins.MavenPublishPlugin;
... | 1,024 | 33.166667 | 98 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/SpringSigningPlugin.java | /*
* Copyright 2016-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 2,538 | 38.061538 | 120 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/maven/PublishArtifactsPlugin.java | package org.springframework.gradle.maven;
import io.spring.gradle.convention.Utils;
import org.gradle.api.Action;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.Task;
public class PublishArtifactsPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
... | 799 | 28.62963 | 121 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/antora/AntoraVersionPlugin.java | package org.springframework.gradle.antora;
import org.gradle.api.Action;
import org.gradle.api.GradleException;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.tasks.TaskProvider;
import org.gradle.language.base.plugins.LifecycleBasePlugin;
public class AntoraVersionPlugin implement... | 3,172 | 46.358209 | 188 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/antora/AntoraVersionUtils.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,821 | 31.535714 | 100 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/antora/CheckAntoraVersionTask.java | package org.springframework.gradle.antora;
import org.gradle.api.DefaultTask;
import org.gradle.api.GradleException;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.api.provider.Property;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.InputFile;
import org.gradle.api.tasks.Optional;
i... | 3,306 | 33.092784 | 133 | java |
null | spring-security-main/buildSrc/src/main/java/org/springframework/gradle/antora/UpdateAntoraVersionTask.java | /*
* Copyright 2019-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,336 | 30.201439 | 105 | java |
null | spring-security-main/buildSrc/src/main/java/s101/S101Install.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,231 | 33.222222 | 100 | java |
null | spring-security-main/buildSrc/src/main/java/s101/S101Configure.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,211 | 32.666667 | 100 | java |
null | spring-security-main/buildSrc/src/main/java/s101/S101Plugin.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 6,327 | 38.061728 | 142 | java |
null | spring-security-main/buildSrc/src/main/java/s101/S101PluginExtension.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,508 | 29.228916 | 75 | java |
null | spring-security-main/buildSrc/src/main/java/s101/S101Configurer.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 10,883 | 33.884615 | 132 | java |
null | spring-security-main/buildSrc/src/main/java/lock/GlobalLockPlugin.java | package lock;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
/**
* @author Rob Winch
*/
public class GlobalLockPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
project.getTasks().register("writeLocks", GlobalLockTask.class, (writeAll) -> {
writeAll.setDescripti... | 372 | 20.941176 | 81 | java |
null | spring-security-main/buildSrc/src/main/java/lock/GlobalLockTask.java | package lock;
import org.gradle.api.Action;
import org.gradle.api.DefaultTask;
import org.gradle.api.Project;
import org.gradle.api.artifacts.Configuration;
import org.gradle.api.tasks.TaskAction;
import java.util.function.Consumer;
/**
* @author Rob Winch
*/
public class GlobalLockTask extends DefaultTask {
@Tas... | 1,031 | 24.170732 | 78 | java |
null | spring-security-main/ldap/src/test/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,782 | 26.488506 | 90 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/SpringSecurityAuthenticationSourceTests.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 4,425 | 40.754717 | 113 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/LdapUtilsTests.java | /*
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 3,461 | 39.729412 | 110 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/SpringSecurityLdapTemplateTests.java | /*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,576 | 33.824324 | 109 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/userdetails/UserDetailsServiceLdapAuthoritiesPopulatorTests.java | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,139 | 38.62963 | 113 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/userdetails/LdapUserDetailsServiceTests.java | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 3,175 | 36.809524 | 112 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/userdetails/LdapUserDetailsImplTests.java | /*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,514 | 32.666667 | 89 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/userdetails/LdapUserDetailsMapperTests.java | /*
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 3,203 | 37.60241 | 93 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/userdetails/LdapAuthorityTests.java | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,553 | 33.986301 | 101 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/userdetails/InetOrgPersonTests.java | /*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 5,920 | 39.278912 | 90 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/aot/hint/LdapSecurityRuntimeHintsTests.java | /*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,902 | 31.810345 | 110 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/jackson2/PersonMixinTests.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 6,116 | 43.007194 | 121 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/jackson2/InetOrgPersonMixinTests.java | /*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 9,604 | 47.756345 | 121 | java |
null | spring-security-main/ldap/src/test/java/org/springframework/security/ldap/jackson2/LdapUserDetailsImplMixinTests.java | /*
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 5,465 | 42.03937 | 121 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.