- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 161 for editores (0.12 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
// Create Editor from domtrip Document Editor editor = new Editor(pomDocument); // Update model version element Element root = editor.root(); Element modelVersionElement = root.child(MODEL_VERSION).orElse(null); if (modelVersionElement != null) { editor.setTextContent(modelVersionElement, targetModelVersion);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
pomMap.put(Paths.get("project", "module-a", "pom.xml"), moduleADoc); pomMap.put(Paths.get("project", "module-b", "pom.xml"), moduleBDoc); Editor editor = new Editor(moduleBDoc); Element moduleBRoot = editor.root(); Element dependencies = DomUtils.findChildElement(moduleBRoot, "dependencies"); Element dependency = DomUtils.findChildElement(dependencies, "dependency");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
Editor editor = new Editor(document); return editor.toXml(); } /** * Removes an element from its parent. * * @param element the element to remove * */ public static void removeElement(Element element) { Editor editor = new Editor(element.document()); editor.removeElement(element); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
.gitattributes
# Treat all files in the Go repo as binary, with no git magic updating # line endings. This produces predictable results in different environments. # # Windows users contributing to Go will need to use a modern version # of git and editors capable of LF line endings. # # Windows .bat files are known to have multiple bugs when run with LF # endings, and so they are checked in with CRLF endings, with a test
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jun 08 15:31:43 GMT 2020 - 639 bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
// Note: POM may or may not be modified depending on whether upgrades are needed // Verify the plugin version was upgraded Editor editor = new Editor(document); Element root = editor.root(); String version = root.path("build", "plugins", "plugin", "version") .map(Element::textContentTrimmed) .orElse(null);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
var editor: DiskLruCache.Editor? = null try { editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current. entry.writeTo(editor) editor.commit() } catch (_: IOException) { abortQuietly(editor) } } private fun abortQuietly(editor: DiskLruCache.Editor?) { // Give up because the cache cannot be written.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 26.8K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
id: expected-behavior attributes: label: "What did you expect to see?" validations: required: true - type: textarea id: editor-and-settings attributes: label: "Editor and settings" description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)" validations: required: false - type: textarea id: logs attributes:Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 24 17:09:04 GMT 2024 - 1.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
// Verify the model version and namespace - use the updated document from pomMap Document updatedDocument = pomMap.get(Paths.get("pom.xml")); Editor editor = new Editor(updatedDocument); Element root = editor.root(); assertEquals(expectedNamespace, root.namespaceURI(), "Namespace should be updated: " + description);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java
return xml.toString(); } public Document buildDocument() { try { String xmlContent = build(); Editor editor = new Editor(Document.of(xmlContent)); return editor.document(); } catch (Exception e) { throw new RuntimeException("Failed to build POM document", e); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.2K bytes - Click Count (0)