- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for unchecked (0.19 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
public class SimpleClassMetaDataRepository<T extends Attachable<T>> implements ClassMetaDataRepository<T> { private final Map<String, T> classes = new TreeMap<>(); @SuppressWarnings("unchecked") public void load(File repoFile) { try { FileInputStream inputStream = new FileInputStream(repoFile); try {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt
} @Suppress("unchecked_cast") override fun execute(context: ViolationCheckContext) { (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor( param(Params.sourceRoots), param(Params.sourceCompilationClasspath) ) } @Suppress("unchecked_cast") private
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
import java.util.HashSet; import java.util.Set; public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule { @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) { Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Jun 09 08:16:49 GMT 2021 - 1.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
fun getSubprojectByName(name: String): GradleSubproject? } data class JsonBasedGradleSubprojectProvider(private val jsonFile: File) : GradleSubprojectProvider { @Suppress("UNCHECKED_CAST") override val subprojects = JSON.parseArray(jsonFile.readText()).map { toSubproject(it as Map<String, Any>) } private val nameToSubproject = subprojects.map { it.name to it }.toMap()
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Fri Jun 02 14:55:06 GMT 2023 - 2.2K bytes - Viewed (1) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRuleCurrentGradleVersionSetup.java
public SinceAnnotationMissingRuleCurrentGradleVersionSetup(Map<String, String> currentVersion) { this.currentVersion = currentVersion.get("currentVersion"); } @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContext context) { Map<String, Object> userData = (Map<String, Object>) context.getUserData(); userData.put("currentVersion", currentVersion); }
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java
this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges).keySet(); } @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContext context) { Map<String, Object> userData = (Map<String, Object>) context.getUserData(); userData.put("acceptedApiChanges", acceptedApiChanges);
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt
fun fileHeaderFor(packageName: String, isIncubating: Boolean = false) = """$licenseHeader @file:Suppress( "unused", "nothing_to_inline", "useless_cast", "unchecked_cast", "extension_shadowed_by_member", "redundant_projection", "RemoveRedundantBackticks", "ObjectPropertyName", "deprecation" )
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:08 GMT 2023 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
); public BinaryBreakingChangesRule(Map<String, Object> params) { super(params); } @Override @SuppressWarnings("unchecked") public Violation maybeViolation(final JApiCompatibility member) { if (!member.isBinaryCompatible()) { if ((member instanceof JApiClass) && (member.getCompatibilityChanges().isEmpty())) {
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 3.1K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
import java.io.File /** * Helper for reflective usage by `KotlinExtensionsForGradleApiFacade`. */ class ApiExtensionGeneratorFacade { @Suppress("UNCHECKED_CAST") fun generate(parameters: Map<String, Any>) { generateKotlinDslApiExtensionsSourceTo( parameters["asmLevel"] as Int, parameters["platformClassLoader"] as ClassLoader,
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 20 21:41:53 GMT 2023 - 18.1K bytes - Viewed (0) -
.cm/add_usual_expert.cm
# can also use the constant `true` if you want to always run the actions. # Each automation is independent of the others. Every time one of the `on` conditions match for # this PR, this automations will have its `if` checked to run. In a way, the `on` conditions # function as an implicit first `if` for every automation in the file. # You can define multiple automations in a .cm file, but each automation name should be unique
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.4K bytes - Viewed (0)