- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 73 for Formatting (0.08 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
strategy.doApply(context, pomMap); // Convert to string to check formatting String result = DomUtils.toXml(document); // If pluginManagement was added, verify proper formatting if (result.contains("<pluginManagement>")) { // Verify that the XML formatting is correct - no malformed closing tags
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
// Configure OWASP HTML Sanitizer with allowed tags htmlSanitizer = new HtmlPolicyBuilder() // Headings .allowElements("h1", "h2", "h3", "h4", "h5", "h6") // Text formatting .allowElements("p", "br", "hr") .allowElements("strong", "em", "b", "i", "u", "s", "del") // Lists .allowElements("ul", "ol", "li") // CodeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0) -
internal/logger/target/console/console.go
fmt.Fprintln(c.output, entry.Message) return nil } traceLength := len(entry.Trace.Source) trace := make([]string, traceLength) // Add a sequence number and formatting for each stack trace // No formatting is required for the first entry for i, element := range entry.Trace.Source { trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element) } tagString := ""
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
* * <ul> * <li>{@code padStart("7", 3, '0')} returns {@code "007"} * <li>{@code padStart("2010", 3, '0')} returns {@code "2010"} * </ul> * * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities. * * @param string the string which should appear at the end of the result * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
return parent.child(name).orElse(null); } /** * Serializes a domtrip Document to XML string with preserved formatting. * * @param document the domtrip Document * @return the XML string with preserved formatting * */ public static String toXml(Document document) { Editor editor = new Editor(document); return editor.toXml(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
/** * Utility class for handling Maven model version operations during upgrades. * * <p>This class uses domtrip internally for superior formatting preservation * and simplified API while maintaining the same external interface. */ public final class ModelVersionUtils { private ModelVersionUtils() { // Utility class } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
*/ private static String toPlatformSpecific(String expected) { return expected.replace("/", File.separator).replace(":", File.pathSeparator); } /** * Tests the formatting of an option without module name. */ @Test public void testOption() { String[] formatted = JavaPathType.MODULES.option(paths()); assertEquals(2, formatted.length);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K bytes - Click Count (0) -
README.md
- **Type Safe** - Comprehensive use of generics and modern Java type system features ### Additional Components - **Text Processing** (`org.codelibs.core.text`) - JSON utilities, tokenization, decimal formatting, and text manipulation - **Logging Abstraction** (`org.codelibs.core.log`) - Flexible logging system supporting JCL (Jakarta Commons Logging) and JUL (Java Util Logging)
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* </ul> * * <h3>Format Preservation</h3> * <ul> * <li><strong>Whitespace Preservation</strong>: Maintains original formatting when removing elements</li> * <li><strong>Comment Preservation</strong>: Preserves XML comments and processing instructions</li> * <li><strong>Line Separator Handling</strong>: Uses system-appropriate line separators</li>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
.github/workflows/shfmt.yml
name: Shell formatting checks on: pull_request: branches: - master permissions: contents: read jobs: build: name: runner / shfmt runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: luizm/action-sh-checker@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SHFMT_OPTS: "-s" with:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 22 23:07:14 GMT 2024 - 443 bytes - Click Count (0)