- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for normalize (0.34 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java
} @Override public void visitType(String name) { linkElement.appendChild(addType(name, listener)); } }); linkElement.normalize(); if (linkElement.getChildNodes().getLength() == 1 && linkElement.getFirstChild() instanceof Element) { return linkElement.getFirstChild(); } return linkElement; }
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.3K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy
when: def actual = UserGuideTransformTask.normalise(content) then: actual == "test test test" } def usesUnixLineEndings() { given: String content = "test\r\ntest\r\ntest" when: def actual = UserGuideTransformTask.normalise(content) then: actual == "test\ntest\ntest" }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Tue Jul 27 19:28:51 GMT 2021 - 1.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
doc.documentElement.depthFirst().findAll { it.name() == 'programlisting' || it.name() == 'screen' }.each {Element element -> element.setTextContent(normalise(element.getTextContent())) } } static String normalise(String content) { content.replace('\t', ' ').stripIndent().replace('\r\n', '\n') } def transformApiLinks(Document doc) {
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
val normalizedDistribution = bucket("${prefix}TestNormalizedDistribution", "Declare a normalized distribution (bin distribution without timestamp in version) to be used in tests")
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Mon Feb 12 13:19:06 GMT 2024 - 11.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.docbook; import java.util.*; /** * Normalises and cleans up HTML to convert it to XML semantics. */ public class HtmlToXmlJavadocLexer implements JavadocLexer { private final JavadocLexer lexer; private final Set<String> blockElements = new HashSet<String>();
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.8K bytes - Viewed (0) -
CONTRIBUTING.md
* Be careful when using features introduced in Java 1.7 or later. Some parts of Gradle still need to run on Java 6. * Normalize file paths in tests. The `org.gradle.util.internal.TextUtil` class has some useful functions for this purpose.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 15:30:53 GMT 2024 - 15.6K bytes - Viewed (0) -
.gitattributes
# https://github.com/Danimoth/gitattributes # These are explicitly windows files and should use crlf *.bat text eol=crlf # These files are text and should be normalized (Convert crlf => lf) *.bash text eol=lf *.css text diff=css *.htm text diff=html *.html text diff=html *.java text diff=java *.sh text eol=lf
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Sep 02 12:15:16 GMT 2020 - 1.1K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
*/ @Internal val gradleInstallationForTest = GradleInstallationForTestEnvironmentProvider(project, this) /** * A 'normalized' distribution to test against if needed */ @Internal val normalizedDistributionZip = DistributionZipEnvironmentProvider(project, "normalized") /** * A 'bin' distribution to test - for integration tests testing the final distributions */ @Internal
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Jul 01 22:53:59 GMT 2022 - 8K bytes - Viewed (0)